Documentation
Reference
2.1.55 (current version)
collection
interactivityModel
Interfaces

IPointGeometry

Extends IGeometry, IPointGeometryAccess.

Interface for the "Point" geometry.

Constructor | Fields | Events | Methods

Constructor

IPointGeometry()

Fields

NameTypeDescription
eventsIEventManager

Event manager.

Inherited from IEventEmitter.

optionsIOptionManager

Options manager.

Inherited from ICustomizable.

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.

mapchange

Map reference changed. Instance of the Event class. Names of fields that are available via the Event#get method:

  • oldMap - Old map.
  • newMap - New map.

Inherited from IGeometry.

optionschange

Change to the object options.

Inherited from ICustomizable.

pixelgeometrychange

The pixel geometry changed. Instance of the Event class. Names of fields that are available via the Event#get method:

Inherited from IGeometry.

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 southwest corner of the area; the second item is the northeast corner.

Inherited from IGeometry.

getCoordinates()

Number[]|null

Returns coordinates of a point.

Inherited from IPointGeometryAccess.

getMap()

Map|null

Returns the current map.

Inherited from IGeometry.

getPixelGeometry([options])

IPixelGeometry

Returns the pixel geometry corresponding to the given geometry, its options, and the map state.

Inherited from IGeometry.

getType()

String

Returns the "Point" string.

setCoordinates(coordinates)

IPointGeometryAccess

Sets coordinates of a point.

Inherited from IPointGeometryAccess.

setMap(map)

Sets the map.

Inherited from IGeometry.

Methods details

getType

{String} getType()

Returns the "Point" string.