danyim

Geometry: Polygon to a Point.

Discussion created by danyim on Oct 27, 2010
Latest reply on Oct 28, 2010 by danyim
Hi Everyone,

I am trying to use an IdentifyTask with a given Polygon geometry of a feature. But, as per the API, IdentifyParams' geometry property is most commonly a Point, not a Polygon.

To circumvent this, I have tried using [some Polygon obj].getPoint(0,0); to get a random point, but that is not working, as it results in incorrect identifies.

Does anyone know how I can possibly get an "inner point" of a Polygon? I am beginning to suspect that the getPoint function gives me an edge point, which is too ambiguous for my purposes.

Outcomes