RulerOptions | MapGL | Urbi Documentation
MapGL JS API

RulerOptions

Ruler initialization options.

Properties
undefinedfalsetrue

Specifies whether the ruler should be drawn on its initialization.

Specifies whether the labels should be drawn. Optional.

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

GeoPoint[]

An array of geographical points [longitude, latitude]. Optional.