NITIN35

map.setExtent not working

Discussion created by NITIN35 on Jan 26, 2013
Latest reply on Jan 27, 2013 by ammarGomaa
hi,
i m using arcgis js api 3.3 nd trying to zoom particular location by setting map extent. but it is not working.

var ext = new esri.geometry.Extent((parseFloat(arr.X) - 1000), (parseFloat(arr.Y) - 1000), (parseFloat(arr.X) + 1000), (parseFloat(arr.Y) + 1000), new esri.SpatialReference({wkid: 3414}));

map.setExtent(ext);

Outcomes