interface
BaseData
LabelVisibilitySettings
The list of visibility settings for label groups.
PolygonData
PolylineData
RulerControlOptions
enabled?
Specifies whether the ruler should be enabled after control initialization.
jointFactory?
Custom joint factory function, useful for styling
markerBurningArea?
Specifies the size of the marker burning area within the radius of the ruler joint.
mode?
Sets ruler's behavior. Specifies whether the ruler should be in measuring mode of the distance of a polyline or the area of a polygon.
polygonOptions?
Polygon drawing options.
polylineOptions?
Polyline drawing options.
snapPointFactory?
Custom snap point factory function, useful for styling
RulerEvent
RulerEventTable
The list of events that can be emitted by a Ruler instance.
change
Emitted when the points are changed.
RulerOptions
Ruler initialization options.
enabled?
Specifies whether the ruler should be drawn on its initialization.
jointFactory?
labelVisibilitySettings?
Specifies whether the labels should be drawn. Optional.
markerBurningArea?
Specifies the size of the marker burning area within the radius of the ruler joint.
mode?
Sets ruler's behavior. Specifies whether the ruler should be in measuring mode of the distance of a polyline or the area of a polygon. Optional.
polyline
by default
points?
An array of geographical points [longitude, latitude]. Optional.