The format function
Gettext catalog.
Optional
options: MeasureOptions = {}Options
Whether or not to display any tooltip
The format function
The help tooltip element.
Overlay to show the help messages.
The sketch feature.
The snapping source
The message to show when user is about to start drawing.
The snapping tolerance in pixels.
Compute the intersection between 2 segments.
The intersection point, undefined if there is no intersection point or lines are coincident.
The coordinates of the first line.
The coordinates of the second line.
Function implemented in inherited classes to compute measurement, determine where to place the tooltip and determine which help message to display.
The function to be called.
Create a linestringGeometryFunction
that will create a line string with segments
snapped to π/4 angle.
Use this with the draw interaction and type: 'LineString'
.
Geometry.
Coordinates.
Optional
opt_geometry: SimpleGeometryGeometry.
Generated using TypeDoc
Interaction dedicated to measure length.
See our live example: ../examples/measure.html