Common methods for geometry classes that base on a center, e.g. Marker, Circle, Ellipse , etc
Static Methods
(static) getCoordinates() [source]
Get geometry's center
Returns:
Coordinate: - center of the geometry(static) setCoordinates(coordinates) [source]
Set a new center to the geometry
Parameter | Type | Description |
---|---|---|
coordinates
|
Coordinate | Array.<Number> | new center |