java.lang.Object | ||
↳ | com.carto.geometry.Geometry | |
↳ | com.carto.geometry.PointGeometry |
Point geometry. Geometry is defined by a single map position.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PointGeometry(MapPos pos)
Constructs a PointGeometry object from a given map position.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
MapPos |
getCenterPos()
Returns the center point of the geometry.
| ||||||||||
MapPos |
getPos()
Returns the position of the point.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs a PointGeometry object from a given map position.
pos | The map position. |
---|
Returns the center point of the geometry.