0

Somebody know how can i add to graphic a scale (a single graphic)? I have graphics layer and i need for each graphic in it to have a different scale

I have now all the graphic shown in the same scale

I did it by using map.graphics.add() I used also SimpleSymbol

Thank you

Itay Golan
  • 33
  • 8
  • There are many hundreds of ArcGIS API for JavaScript questions asked and answered at the [gis.se] Stack Exchange but always start with a code snippet to illustrate what you have tried and where you are stuck. – PolyGeo Sep 26 '17 at 09:56

1 Answers1

0

var polygon = featureSet.features[0].geometry; var polygonExtent = polygon.getExtent();

for each graphic in it to have a different scale (get geometry extend and zoom to extend)

ikbal
  • 1,110
  • 12
  • 21