Enables measuring of length of polylines and areas of polygons
Options for measure-path
Adds a toolbar to enable/disable measuing path distances/areas
enableMeasurePath(map)measurePathOptions(showOnHover = FALSE, minPixelDistance = 30,
showDistances = TRUE, showArea = TRUE, imperial = FALSE)
addMeasurePathToolbar(map, options = measurePathOptions())
The map widget.
If TRUE, the measurements will only show when the user hovers the cursor over the path.
The minimum length a line segment in the feature must have for a measurement to be added.
If FALSE, doesn't show distances along line segments of of a polyline/polygon.
If FALSE, doesn't show areas of a polyline/polygon.
If TRUE the distances/areas will be shown in imperial units.
The measurePathOptions.