AnsweredAssumed Answered

Map constructor failing to set WKID

Question asked by Nighteyez07 on Mar 18, 2013
Latest reply on Mar 19, 2013 by Nighteyez07
If I use the following map constructor to build my map I get an error. The error says: Map: Geometry (wkid: 4326) cannot be converted to spatial reference of the map (wkid: 32149). I'm using the 3.3 version and I don't get why this is failing. What am I doing wrong here?

map = new esri.Map("map", {   autoResize: true,   center: [79375.16, 52916.77],   extent: new esri.geometry.Extent({     xmin: 528102.74,   ymin: 109727.35,   xmax: 607477.90,   ymax: 162644.12,   spatialReference: new esri.SpatialReference({wkid:32149})}),   minZoom: 3,   zoom: 4 });

Outcomes