IPointGeometryAccess

Interface for access to the "Point" geometry.

Constructor | Events | Methods

Constructor

IPointGeometryAccess()

Events

Name Description
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.

Methods

Name Returns Description
getCoordinates()

Number[]|null

Returns coordinates of a point.

setCoordinates(coordinates)

IPointGeometryAccess

Sets coordinates of a point.

Events details

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.

Methods details

getCoordinates

{Number[]|null} getCoordinates()

Returns coordinates of a point.

setCoordinates

Sets coordinates of a point.

Returns self-reference.

Parameters:

Parameter Default value Description
coordinates *

Type: Number[]|null

Coordinates of a point.

* Mandatory parameter/option.