Select to view content in your preferred language

Finding the center of an polygon?

586
3
02-18-2013 11:41 AM
stevemclaughlin
Occasional Contributor
Is there an easy way of finding the center point of a polygon that is defined with lat/long points?
Tags (2)
0 Kudos
3 Replies
AnthonyGiles
Honored Contributor
Steve,

You should be able to use graphic.extent.center ,see:

http://resources.arcgis.com/en/help/flex-api/apiref/index.html

Regards

Anthony
0 Kudos
stevemclaughlin
Occasional Contributor
Great, thanks!  I knew there must be an easy way!
0 Kudos
AnthonyGiles
Honored Contributor
Steve,

Please don't also forget to mark the post as answered by checking the tick on the answer,

Thank you,

Anthony
0 Kudos