I am currently using a Microsoft.Phone.Map
in my Windows 8 Phone App and want to be able stop interactions for changing the zoom level and moving (scrolling) around the map.
I've tried disabling interaction but the problem is I have a layer with Points of Interests that need to be tapped to expand information which doesn't work when I disable the map with IsEnabled = True;
The zoom level is set to this.BigMap.ZoomLevel = 16;
to start with and then to try and stop this from changing with interaction I did this:
void BigMap_ZoomLevelChanged(object sender, MapZoomLevelChangedEventArgs e)
{
this.BigMap.ZoomLevel = 16;
}
But it means that I get a rather jumpy effect - is there a better way to disable zoom?
And does anyone know how to stop the map moving - I want just the section that fits on the screen to stay put and not let the user move it around.
IsHitTestVisible="false"
should turn off hit testing on the map, which would turn off all user interaction with it. – user1228IsHitTestVisible="false"
on my hold event which is when I need the map to lock how do I then get it to recognize that the finger is no longer on screen. I need some sort of event handler that can then set the `IsHitTestVisible=true" so that interaction is normal In fact it would be better if you could never scroll / zoom and the map only recognise Hold and Tap events. – hemit