xaml - Make clickable UI-elements for windows Phone 8.1 apps maps -


windows phone 8.1 app , c#

i let user add pushpins ( apparently called mapicons ) map , when user clicks newly created pushpin other ui-elements should appear.

but apparently mapicons not clickable , can not inherit them since sealed, no luck in making them clickable.

i tried extend windows.ui.xaml.controls.button , have not location, because not belong windows.ui.xaml.controls.maps-namespace. can not add them windows.ui.xaml.controls.maps.mapcontrol.children or windows.ui.xaml.controls.maps.mapcontrol.mapelements, since not on map want them be.

so how make clickable ui-element can give location on map?

you can throw pretty want on there , bind mapcontrol.location attached property object placement long they're children of map parent.

see more detail explanation here in docs.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -