Select to view content in your preferred language

Map extent problem in a AGO embedded map

3218
1
11-16-2015 01:19 PM
LarryCutforth
New Contributor

I am having trouble setting the map extent in an embedded AGO web map app.

I have attempted to set the extent by setting a parameter as shown in the code snippet for embedding the map below.  The map extent changes a little then jumps to the next predefined map scale (same steps as the +/- zoom tools). As a result, the map is displayed too close or too far away at the default extent (see attached). Any suggestions about how to resolve this problem?

<div><iframe width="700" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" title="General Inspection Territory" src="http://www.arcgis.com/apps/InformationLookup/index.html?appid=XXXX;extent=-92.5,42.6,-87.4,45.2;"></iframe></div>

0 Kudos
1 Reply
KyleBalke__GISP
Occasional Contributor III

Try changing the 45.2 in the extent to 46.9

0 Kudos