<\/P>
Oh le puissant OverviewMap<\/A><\/STRONG>. C'est un Dijit classique dans l'ArcGIS API for JavaScript. Je suis un peu partagé sur l'utilité d'un OverviewMap. D'un côté, je ne l'inclus jamais par défaut dans une application et 95 % du temps, personne ne le demande jamais. Mais, il y a toujours ces 5 %<\/EM>. Personnellement, je ne pense pas qu'il ajoute grand-chose à une application cartographique, c'est un peu dans la même catégorie que garder un historique de zoom. C'est un héritage des premiers jours que je pense qu'à un moment donné tous les développeurs Esri ont simplement décidé de laisser mourir tranquillement.<\/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.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.