Search code examples
openlayers-3

What is interior point in openlayers3


When I work with polygon, there is a function geometry.getInteriorPoint(). What does interior point mean. What point in polygon is this one?


Solution

  • It is a point that falls within the polygon for sure and in most cases that point matches the centroid of the polygon. Generally, it is used for label placement