0

Is there a way to get the extent of a FeatureLayer (with all its features, not only the ones on the map)?

1

what about

getGraphicsExtent(yourFeatureLayer.graphicProvider);

where getGraphicsExtent() method is in com.esri.ags.utils.GraphicUtil class.

  • getGraphicsExtent() maybe will return the extent of the graphics loaded on the map => that are in the graphicProvider. – yo_haha Jul 15 '13 at 12:28
0

featureLayer.layerDetails.extent

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.