Documentation
Reference
2.1.55 (current version)
collection
interactivityModel
Interfaces

IBasePointGeometry

Extends IBaseGeometry, IPointGeometryAccess.

Interface for the "Point" geometry.

Constructor | Fields | Events | Methods

Constructor

IBasePointGeometry()

Fields

NameTypeDescription
eventsIEventManager

Event manager.

Inherited from IEventEmitter.

Events

NameDescription
change

Changed coordinates. Instance of the Event class. Names of fields that are available via the Event#get method:

  • oldCoordinates - Old coordinates
  • newCoordinates - New coordinates.

Inherited from IPointGeometryAccess.

Methods

NameReturnsDescription
getBounds()

Number[][]|null

Returns coordinates of the two opposite corners of the area that surrounds the geometry. The first item in the array is the corner with the smallest coordinate values relative to the rest of the points in the area; the second item is the corner with the largest coordinate values.

Inherited from IBaseGeometry.

getCoordinates()

Number[]|null

Returns coordinates of a point.

Inherited from IPointGeometryAccess.

getType()

String

Returns the "Point" string.

setCoordinates(coordinates)

IPointGeometryAccess

Sets coordinates of a point.

Inherited from IPointGeometryAccess.

Methods details

getType

{String} getType()

Returns the "Point" string.