Anyone know how to get the correct centerpoint for non-rectangular shapes?
I'm trying to add markers to the center point of the shapes in my featureLayer, but they are land plots so some of them are angular.
This means the boundingBox centerPoint doesn't visually look like it's marking the actual feature, it's offset.
Is there a way to compensate?
I've tried playing with xOffset and yOffset, the problem is, I don't know how to determine if the shape is non-rectagular or angled.