AnsweredAssumed Answered

I need to convert user-drawn polygons and their buffered polygons from web mercator to decimal degrees.  I'm trying to adapt this section of code from the util_buffergraphic sample:

Question asked by shsavage on Apr 22, 2016
Latest reply on Apr 22, 2016 by rscheitlin

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. 

Outcomes