Geoportal Extension for OpenLayers
API Reference

Module: ElevationPath

module:~controls/ElevationPath

Example

import ElevationPath from "gpf-ext-ol/controls/ElevationPath"
ou
import { ElevationPath } from "gpf-ext-ol"

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

Controls/ElevationPath/ElevationPath.js, line 1090

event triggered at the end of drawing input

elevationpath:drawstart

Controls/ElevationPath/ElevationPath.js, line 1080

event triggered at the start of drawing input