AnsweredAssumed Answered

Extent from array at points?

Question asked by kensu on May 23, 2013
Latest reply on May 23, 2013 by kensu
Hi,

i'm starting developer with API for JavaScript and i can't get Extent from array at points. I looked the documentation and the atritute graphics from MAP class is GraphicLayer, but the GraphicLayer don't have method that return Extent class.

How can I get Extent from array at points?

var point = new esri.geometry.Point(-46.646297, -23.545901); var point2 = new esri.geometry.Point(-46.639988, -23.548556); var defaultSymbol = new esri.symbol.PictureMarkerSymbol('http://static.arcgis.com/images/Symbols/Shapes/GreenPin1LargeB.png', 55, 45);       var graphic = new esri.Graphic(point, defaultSymbol);  var graphic2 = new esri.Graphic(point2, defaultSymbol);  map.graphics.add(graphic);    map.graphics.add(graphic2); 


thanks for any help

obs. sorry for my english =\

Outcomes