Geoportal Extension for Leaflet API Reference

Namespace: ElevationPath

L.geoportalControl.ElevationPath

Leaflet Control Class to compute and display Profil Elevation.

Use :Controls.ElevationPath 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 963

create Profile Marker

Name Type Description
context Object

context

data Object

data

static__customRawProfileMouseOverEvent(context, e)

Leaflet/Controls/ElevationPath.js, line 1050

custom operation into raw profil...
TODO

Name Type Description
context Object

context

e Object

event

static__customRawProfileOperation()

Leaflet/Controls/ElevationPath.js, line 1039

custom operation into raw profil...
TODO

static__removeProfileMarker(context)

Leaflet/Controls/ElevationPath.js, line 1023

remove Profile Marker

Name Type Description
context Object

context

static__updateProfileMarker(context, data)

Leaflet/Controls/ElevationPath.js, line 991

update Profile Marker

Name Type Description
context Object

context

data Object

data

staticDISPLAY_PROFILE_BY_DEFAULT(data, container, context)

Leaflet/Controls/ElevationPath.js, line 1062

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 1121

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 1098

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 1080

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