<\/P>
Ó mocný OverviewMap<\/A><\/STRONG>. Toto je klasický Dijit v ArcGIS API pro JavaScript. Jsem trochu rozpolcený ohledně užitečnosti OverviewMap. Na jednu stranu ho nikdy nezahrnuji do aplikace jako výchozí a v 95 % případů o něj nikdo ani nežádá. Ale vždy je tu těch 5 %<\/EM>. Osobně si nemyslím, že by přidával mnoho k mapové aplikaci, spadá to spíše do stejné kategorie jako uchovávání historie přiblížení. Je to pozůstatek z raných dob, kdy si myslím, že všichni Esri vývojáři se nakonec rozhodli to tiše nechat zemřít.<\/P><\/P>
<\P>
I'm kinda inspired to hack into the overview map. The clients I've worked with who expressed interest in OverviewMaps want features that I haven't teased out of them yet. I end up creating a second map with custom layers, zoom scales, and features that they want.
Is there any difference memory or performance-wise between loading an overview map and creating a second map?
So far I have not noticed any performance or memory issues. It's basically equivalent to what you are probably already doing, but with the extent graphic and linked panning/zooming already built in. My next task was to try and change the little arrow graphic used to toggle the OverviewMap, I just haven't gotten that far yet.
I've considered trying to override the image arrow that displays for the overview map. My apps are for field workers on devices like iPads and Androids and I don't think that the arrow is easy to touch on those devices.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Nový zde? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.