AnsweredAssumed Answered

Changing extent of an ArcGIS Online map

Question asked by map123 on Oct 10, 2013
Latest reply on Oct 10, 2013 by cblinnmrc
Hi everyone,
I follow this example:
It's said those lines of code below can do changing the extent of the map, but when I try to modify the values of XMin, YMin, XMax, YMax it seems does not effect anymore:
//By default the extent will be that of the web map. Here we change it to a custom extent.            var extent = new Extent({             "xmin": "-13529153",             "ymin": "4665612",             "xmax": "-13281497",             "ymax": "872422882",             "spatialReference": {"wkid": 102100}           });            map.setExtent(extent);

So could any of you explain me why?
Thank you!