Geoportal Extension for Leaflet API Reference

Namespace: ElevationPath

L.geoportalControl.ElevationPath

Leaflet Control Class to compute and display Profil Elevation.

Use L.geoportalControl.ElevationPath() factory to create instances of that class.

Extends Leaflet L.Control native class.

Methods

static__createProfileMarker(context, data)

Leaflet/Controls/ElevationPath.js, line 964

create Profile Marker

Name Type Description
context Object

context

data Object

data

static__customRawProfileMouseOverEvent(context, e)

Leaflet/Controls/ElevationPath.js, line 1051

custom operation into raw profil...
TODO

Name Type Description
context Object

context

e Object

event

static__customRawProfileOperation()

Leaflet/Controls/ElevationPath.js, line 1040

custom operation into raw profil...
TODO

static__removeProfileMarker(context)

Leaflet/Controls/ElevationPath.js, line 1024

remove Profile Marker

Name Type Description
context Object

context

static__updateProfileMarker(context, data)

Leaflet/Controls/ElevationPath.js, line 992

update Profile Marker

Name Type Description
context Object

context

data Object

data

staticDISPLAY_PROFILE_BY_DEFAULT(data, container, context)

Leaflet/Controls/ElevationPath.js, line 1063

Display Profile function used by default : no additonal framework needed.

Name Type Description
data Object

elevations values for profile

container HTMLElement

html container where to display profile

context Object

this control object

staticDISPLAY_PROFILE_LIB_AMCHARTS(data, container, context)

Leaflet/Controls/ElevationPath.js, line 1122

Display Profile using Amcharts framework. This method needs AmCharts libraries to be loaded.

Name Type Description
data Object

elevations values for profile

container HTMLElement

html container where to display profile

context Object

this control object

staticDISPLAY_PROFILE_LIB_D3(data, container, context)

Leaflet/Controls/ElevationPath.js, line 1099

Display Profile using D3 javascript framework. This method needs D3 libraries to be loaded.

Name Type Description
data Object

elevations values for profile

container HTMLElement

html container where to display profile

context Object

this control object

staticDISPLAY_PROFILE_RAW(data, container, context)

Leaflet/Controls/ElevationPath.js, line 1081

Display Profile without graphical rendering (raw service response)

Name Type Description
data Object

elevations values for profile

container HTMLElement

html container where to display profile

context Object

this control object