Socket
Socket
Sign inDemoInstall

leaflet-routing-machine

Package Overview
Dependencies
3
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    leaflet-routing-machine

Routing for Leaflet


Version published
Weekly downloads
12K
decreased by-16.34%
Maintainers
1
Install size
7.42 MB
Created
Weekly downloads
 

Readme

Source

Leaflet Routing Machine NPM version Leaflet 1.0 compatible! Join the chat at https://gitter.im/leaflet-routing-machine/Lobby

Find the way from A to B on a Leaflet map. The plugin supports multiple backends:

  • OSRM - builtin and used by default (version 5)
  • Mapbox Directions API - builtin with the class L.Routing.Mapbox
  • GraphHopper - through plugin lrm-graphopper
  • Mapzen Valhalla - through plugin lrm-valhalla
  • TomTom Online Routing API - through plugin lrm-tomtom by Mathias Rohnstock
  • Legacy support for OSRM version 4 through plugin lrm-osrm4
  • Esri - through plugin lrm-esri

Features

  • Standard Leaflet control, with Leaflet look and feel
  • Routing from start to destination, with possibility of via points
  • Add, edit and remove waypoints through both address input and using the map
  • Multiple language support
  • Highly customizable for advanced use
  • Customizable look (theming / skins)
  • Open Source released under ISC License (more or less equivalent with the MIT license)

Go to the Leaflet Routing Machine site for more information, demos, tutorials and more.

Support and New Features

Leaflet Routing Machine is in many ways already a feature complete routing UI. Most likely, your requirements are already covered and require very little adaptation.

If you have more complex requirements, need new features or just need some support, I am open to doing paid custom work and support around Leaflet Routing Machine for your organization. Contact me at per@liedman.net and we'll sort this out!

For questions and discussions, you might want to look at the Leaflet Routing Machine gitter.

Building

npm install

This requires Node and npm, as well as grunt.

Keywords

FAQs

Last updated on 28 Sep 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc