Geoportal Extension for OpenLayers API Reference

Module: ElevationPath

module:~Controls/ElevationPath

Example

import ElevationPath from "src/OpenLayers/Controls/ElevationPath"

Type Definitions

elevationpath:computeObject

event triggered when the compute is finished

Properties:
Name Type Description
type Object

event

target Object

instance ElevationPath

Example
ElevationPath.on("elevationpath:compute", function (e) {
  console.log(e.target.getData());
})

Events

elevationpath:drawend

OpenLayers/Controls/ElevationPath.js, line 1092

event triggered at the end of drawing input

elevationpath:drawstart

OpenLayers/Controls/ElevationPath.js, line 1082

event triggered at the start of drawing input