ol.control.Profile is a control that draw a profile of a 3D lineString
(with a XYZ or XYZM layout).
The control can be drawn inside or outside the map.
It fires an
over and
out event with informations on the point of the profile
that is pointed by the mouse (to show the point on the map).
-
graduation option let you specify the z axis graduation interval
-
zmin option let you specify the z axis origin
-
zmax option let you specify the z axis maximum
-
amplitude option let you specify the alitude amplitude
-
The popup function lets you show a popup when cursor fly over the profile.
Use
selectable option to enable selection on the profile.
Listen to
dragstart,
dragging and
dragend events.
Use
getSelection() to retrieve the selection.
zoomable option lets you zoom into the track.