var initExtent = new esri.geometry.Extent(-12516666.18100186, -14473454.10510185, 5059768.712762767, 4075259.788449963, new esri.SpatialReference({ wkid: 102100 })); overviewMapDijit.map.setExtent(esri.geometry.geographicToWebMercator(initExtent));
Hi All,I'd like to add an overview map to my map but in all of the samples using overview maps that I've seen, the overview map pans and zooms (albeit at the specification ratio compared to the main map). I don't want this behavior. Is it possible to "lock" the background of the overview map to a specified extent and have just the main map's map extent move around?I want my overview map to show the full extent of my State Layer and just have the representation of the main map's map extent move around.We are using Javascript API 3.1Thanks,-U
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.