AnsweredAssumed Answered

How do I disable pan and zoom on a map?

Question asked by brenth on Nov 13, 2014
Latest reply on Nov 13, 2014 by kenbuja

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();

Outcomes