open class Geometry : Serializable
A Class that represents the geometry in Search POIs (Points of Interest). There can be two different types of geometry: circle and polygon.
Geometry(polygon: PolygonGeometry!)
The Constructor of a Class that determines the geometry in Search POIs. This Constructor initializes polygon geometry, and assigns null to circle geometry. Geometry(circle: CircleGeometry!)
The Constructor of a Class that determines the geometry in Search POIs. This Constructor initializes circle geometry, and assigns null to polygon geometry. |
open fun getCircle(): CircleGeometry?
The getter of a circle geometry. Only use this if the geometry Class was initialized through a proper Constructor, otherwise it will return null. |
|
open fun getPolygon(): PolygonGeometry?
The getter of a polygon geometry. Only use this if the geometry Class was initialized through a proper Constructor, otherwise it will return null. |