<\/P>
Oh, o poderoso OverviewMap<\/A><\/STRONG>. Este é um Dijit clássico na ArcGIS API for JavaScript. Estou um pouco dividido sobre a utilidade de um OverviewMap. Por um lado, eu nunca o incluo em um app por padrão e 95% das vezes, ninguém nunca pede por ele. Mas, sempre existe aquele 5%<\/EM>. Pessoalmente, não acho que ele adiciona muito a uma aplicação de mapa, ele meio que se enquadra na mesma categoria de manter um histórico de zoom. É uma herança dos primeiros dias que eu acho que em algum momento todos os desenvolvedores da Esri simplesmente decidiram deixar morrer silenciosamente.<\/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.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.