This is what I have so far:
array.forEach(bufferedGeometries, function(geometry) { | |
var graphic = new Graphic(geometry, symbol); | |
map.graphics.add(graphic); | |
alert(geometry.rings); | |
}); |
I can see the coordinates from geometry.rings, but I can't figure out how to send the geometry to the webMercatorToGeographic(geometry) routine and get anything back.
Stephen,
It is simple as:
array.forEach(bufferedGeometries, function(geometry) { var graphic = new Graphic(webMercatorUtils.webMercatorToGeographic(geometry), symbol); map.graphics.add(graphic); });