<\/P>
Oh die mächtige OverviewMap<\/A><\/STRONG>. Dies ist ein klassisches Dijit in der ArcGIS API for JavaScript. Ich bin etwas zwiegespalten, was den Nutzen einer OverviewMap angeht. Einerseits füge ich sie nie standardmäßig in eine App ein und 95 % der Zeit fragt niemand danach. Aber es gibt immer diese 5 %<\/EM>. Persönlich denke ich nicht, dass sie einer Kartenanwendung viel hinzufügt, sie fällt irgendwie in dieselbe Kategorie wie das Beibehalten einer Zoom-Historie. Es ist ein Überbleibsel aus frühen Tagen, das meiner Meinung nach irgendwann alle Esri-Entwickler stillschweigend haben sterben lassen.<\/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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registrieren Sie ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.