How do I disable pan and zoom on a map?
Here is my map definition:
Yet it doesn't disable any of the things below that it says to disable.
And this is the absolute worst user interface in the the world. Someone at esri needs to be takenout and shot.!!!!
omap = Map("overviewMap", { extent: initExtent, logo: false, slider: false });
tmoverview = new ArcGISDynamicMapServiceLayer(mylayer, { "opacity": 1.0, "visible": true });
omap.addLayer(tmoverview);
omap.disableMapNavigation();
omap.disableKeyboardNavigation();
omap.disablePan();
omap.disableRubberBandZoom();
omap.disableScrollWheelZoom();