The format function
Gettext catalog.
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 coordinates of the first line.
The coordinates of the second line.
The intersection point, undefined if there is no intersection point or lines are coincident.
The sketchStyle used for the drawing interaction.
Vector source.
The interaction
The draw interaction.
Get a reference to the tooltip element.
Tooltip Element.
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'
.
Coordinates.
Geometry.
Map.
Generated using TypeDoc
Interaction dedicated to measure length.
See our live example: ../examples/measure.html