var chicagoMetroAreaExtent = new esri.geometry.Extent(-87.9468, 41.6006, -87.5248, 42.0416, new esri.SpatialReference({wkid:3857}) );
Hi Helengeb,
I think the issue that you are facing is because of following line:var chicagoMetroAreaExtent = new esri.geometry.Extent(-87.9468, 41.6006, -87.5248, 42.0416, new esri.SpatialReference({wkid:3857}) );
the values -87.9468, 41.6006, -87.5248, 42.0416 are within range of -180 to +180 so it is geographical coordinate system. Hence spatial reference should be 4326.
If you are sure if have publish base map in 102100 spatial reference. try using extent value in same spatial reference.
I hope this helps.
Regards,
Rahul
You can specify the number of LODs that your map has. Take a look at this sample.
Hi Rahul,
I actually do convert the numbers to 102100(Web mercator)( I have a method for doing that) before I pass them to the map that is what I am doing
var chicagoMetroAreaExtent = new esri.geometry.Extent(ToWebMercator(-87.9468),ToWebMercator( 41.6006), ToWebMercator(-87.5248), ToWebMercator(42.0416), new esri.SpatialReference({wkid:3857}) );
My issue is with my local deployed REST service not supporting the zooming. my map works fine when I use the ESRI REST service for world street map but it does not work with my local world street map.