Select to view content in your preferred language

How to add a map extent indicator inset?

769
2
Jump to solution
08-15-2017 10:18 AM
PeterLen
Frequent Contributor

Hello,

I am using the Esri Javascript v3.9 (yes, I know it is older) and am trying to find some info on the best way to add an extent indicator (or whatever it is called) to my web map.  I essentially want a small map displayed in an inset in the bottom left or right corner on my main map where the inset is the same map location but zoomed out a couple of levels with the main map's extent outlined in the inset.  I found sort of an example that uses the Google Maps API, but am trying find a good example using the Esri javascript API so that I will know how to best build it.

Thanks - Peter

0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Notable Contributor

Take a look at the OverviewMap widget it should do what you need and it has been available since version 2.0 of the ArcGIS API for JavaScript. 

OverviewMap | API Reference | ArcGIS API for JavaScript 3.21 

View solution in original post

0 Kudos
2 Replies
KellyHutchins
Esri Notable Contributor

Take a look at the OverviewMap widget it should do what you need and it has been available since version 2.0 of the ArcGIS API for JavaScript. 

OverviewMap | API Reference | ArcGIS API for JavaScript 3.21 

0 Kudos
PeterLen
Frequent Contributor

Kelly - Yes, this appears to be exactly what I am looking for.  I just couldn't find the right search words to use.  I really appreciate your quick response and finding exactly what I was looking for.  Much appreciated - Peter

0 Kudos