Give the following code which is property returning a results set from a query. The map.setExtent is not firing. Graphics are added but the change in map extent does not work. Any ides?
Thanks in advance
RGibson
function showQueryResults(results) {
var features = results.features;
dojo.forEach(features, function(feature) {
feature.setSymbol(new SimpleMarkerSymbol);
map.graphics.add(feature);
});
map.setExtent(graphicsUtils.graphicsExtent(map.graphics.graphics), true);
}
Nvm.....found that I had two delcarations of graphicsUtils.