# leaflet-elevation **Repository Path**: llyxietan/leaflet-elevation ## Basic Information - **Project Name**: leaflet-elevation - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # leaflet-elevation.js [](https://www.npmjs.com/package/@raruto/leaflet-elevation) [](LICENSE) A Leaflet plugin that allows to add elevation profiles using d3js
--- _For a working example see one of the following demos:_ - [loading .gpx file](https://raruto.github.io/leaflet-elevation/examples/leaflet-elevation.html) - [loading .geojson file](https://raruto.github.io/leaflet-elevation/examples/leaflet-elevation_geojson-data.html) - [loading strings](https://raruto.github.io/leaflet-elevation/examples/leaflet-elevation_string-data.html) - [loading geojson group](https://raruto.github.io/leaflet-elevation/examples/leaflet-elevation_geojson-group.html) - [loading local .gpx file](https://raruto.github.io/leaflet-elevation/examples/leaflet-elevation_upload-gpx.html)--- ## How to use 1. **include CSS & JavaScript** ```html ... ... ``` 2. **choose the div container used for the slippy map** ```html ... ... ``` 3. **create your first simple “leaflet-elevation” slippy map** ```html ``` _Related: [Leaflet-UI presets](https://github.com/raruto/leaflet-ui), [QGIS Integration](https://github.com/faunalia/trackprofile2web)_ --- **Compatibile with:** [](http://leafletjs.com/reference.html) [](https://github.com/mpetazzoni/leaflet-gpx) [](https://www.npmjs.com/package/d3) --- **Contributors:** [MrMufflon](https://github.com/MrMufflon/Leaflet.Elevation), [HostedDinner](https://github.com/HostedDinner/Leaflet.Elevation), [ADoroszlai](http://ADoroszlai.github.io/joebed/), [Raruto](https://github.com/Raruto/leaflet-elevation)Initially based on the work of Felix “MrMufflon” Bache