var initialExtent = new esri.geometry.Extent({ 'xmin': -8034661, 'ymin': 5652797, 'xmax': -8004182, 'ymax': 5670187, 'spatialReference': new esri.SpatialReference({ wkid: 102100 }) });
var graphic = new esri.Graphic(result.feature.geometry, sym); //create graphic with geometry (result.feature.geometry) and symbol (sym) console.dir(map); map._layers.search_result.add(graphic); //add graphic to graphics layer created above
Solved! Go to Solution.
No I'm not using an outSpatialReference. Because I thought my graphic would automatically use my map.extent and my map SR.