View on GitHub

leaflet-elevation

A Leaflet plugin that allows to add elevation profiles using native SVG and Canvas elements

Repository guidance

Project README Contributing

Development and tests

Local integration with leaflet-city-mapper

The city-mapper demo keeps its versioned CDN URLs. These environment variables let development servers and tests use local builds before both libraries are published:

Variable Consumer Absolute path
LEAFLET_CITY_MAPPER_FOLDER Elevation’s development server and integration tests City-mapper’s built dist directory, containing both main and worker bundles
LEAFLET_ELEVATION_FOLDER City-mapper’s elevation demo smoke test Root of this checkout, not its dist directory