RulerControlOptions
Properties
undefined
false
true
Specifies whether the ruler should be enabled after control initialization.
RulerOptions["jointFactory"]
Custom joint factory function, useful for styling
RulerOptions["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.
RulerOptions["polygonOptions"]
Polygon drawing options.
RulerOptions["polylineOptions"]
Polyline drawing options.
Position of the control.
RulerOptions["snapPointFactory"]
Custom snap point factory function, useful for styling