Hi,
Is it possible to disable the zoom and the pan on the MapView. only the zoom and the pan with the touch screen.
I need to block the map.
Thanks
Best regards
Laurent
MapView and zoom
Hi Laurent,
Please try the code as below:
if (androidMap.ExtentOverlay != null && androidMap.InteractiveOverlays.Contains(androidMap.ExtentOverlay))
{
androidMap.InteractiveOverlays.Remove(androidMap.ExtentOverlay);
}
Regards,
Don
Hi Don
Exactly what I want.
Where are informations about ExtendOverlay ?
Thanks
Regards,
Laurent
Hi Laurent,
Do you meant where is the documentation about it? I think we hadn’t publish the Android version documentation for now.
Regards,
Don
Hi,
And the documentation about for IOS ? Windows ?
Thanks
Laurent
Hi Laurent,
I think the two pages should be helpful, if you want to view something about API, please find API Documentation part in target page.
wiki.thinkgeo.com/wiki/Map_Suite_iOS_Edition
wiki.thinkgeo.com/wiki/Map_Suite_Android_Edition
Regards,
Don
I want to turn of zooming IN/OUT when my Bing map touches its Min and Max ZoomLevel; i.e ZoomLevel01 and ZoomLevel20.
my Questions are:
1- How and in which event I should check for current zoom level the map is in?
2- How to disable & Enable zooming IN/OUT when User zooms IN/OUT beyond these Min & Max? Because android map crashes the app when zooming out beyond zoom level 1 as calculated by:
androidMap.GetSnappedZoomLevelIndex(androidMap.CurrentScale)
[Q: Is this the right way to get current zoom level to display on a label?]
3- Or How can we stop the app from crashing when zooming OUT/IN beyond bingZoomLevelSet?
Hi Zeeshan,
I think this post is duplicate. Let’s focus on this one: thinkgeo.com/forums/MapSuite/tabid/143/aft/12694/Default.aspx.
Thanks,
Howard