Select to view content in your preferred language

INITIAL EXTENT NOT CONSISTENT

2639
11
Jump to solution
05-08-2013 11:28 AM
JuneAcosta
Frequent Contributor
The initial extent of my map in IE does not match the initial extent in Chrome or Firefox. Chrome and Firefox match, but the extent is wrong.

Any ideas?

Here is the link..
http://gismaps.carlsbadca.gov/roadMap/index.html

I'm using a downloaded copy of the simple map viewer and and I create the web map using JSON.
webmap.item = {           "title":"Carlsbad Road Maintenance",           //"snippet": "This map shows the Soil Survey Geographic (SSURGO) by the United States Department of Agriculture's Natural Resources Conservation Service.",           "extent": [[-117.4435043334961, 33.00962448120117],[-117.13451385498047, 33.21561813354492]]         };
0 Kudos
11 Replies
JuneAcosta
Frequent Contributor
Sorry for the proxy issue. It should no longer be an issue. This map is in development so we are trying to get it up and running for production. Im trying to locate IE 10 so I can see what you are seeing.

This is the simple map viewer that I downloaded from ArcGIS online, so the JSAPI 3.5 comes from ESRI. I modified the desktop.css to get rid of the legend by setting the various elements to display:none, and change the fonts to the popup as well. I'm going to undo my changes and see if that's the issue.
0 Kudos
JuneAcosta
Frequent Contributor
Thanks Steve for pointing me to the map div.

Looking in the desktop.css, there was no width or height set for #map. So I added a 100% to both height and width,  and now all browsers look the same. I still need to find IE 10 here at the office to see if it looks okay.
0 Kudos