New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

leaflet-trackstats

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet-trackstats

Computes altitude/slope statistics on Leaflet polylines

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

Leaflet TrackStats

Leaflet TrackStats is a plugin for Leaflet to compute altitude/slope statistics on paths.

L.TrackStats extends Leaflet's Polyline objects to include methods to compute the stats. It also integrates nicely with Leaflet TrackDrawer.

This plugin supports GeoPortail, Open-Elevation and Open Topo Data as data providers, but it can easily be extended for new data providers by implementing the IFetcher interface.

Demo

A real-case usage of this plugin is for map2gpx.

API

See doc.

FAQs

Package last updated on 09 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts