Documentation
Reference
2.1.56 (current version)
collection
interactivityModel
Interfaces

IPointGeometryAccess

Interface for access to the "Point" geometry.

Constructor | Events | Methods

Constructor

IPointGeometryAccess()

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.

Methods

NameReturnsDescription
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:

ParameterDefault valueDescription
coordinates*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: Number[]|null

Coordinates of a point.

* Mandatory parameter/option.