leaflet-routing-machine

Control for routing in Leaflet

  • Owner: perliedman/leaflet-routing-machine
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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:

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.

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.

Usage

Download latest release, or obtain the latest release via unpkg.com.

<link rel="stylesheet" href="https://unpkg.com/leaflet-routing-machine@3.2.12/dist/leaflet-routing-machine.css" />
<script src="https://unpkg.com/leaflet-routing-machine@3.2.12/dist/leaflet-routing-machine.js"></script>

or via npm:

npm install --save leaflet-routing-machine
var L = require('leaflet');
require('leaflet-routing-machine');

...

LRM attaches itself onto L.

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

Main metrics

Overview
Name With Ownerperliedman/leaflet-routing-machine
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 4)
Platform
License:Other
所有者活动
Created At2014-02-02 12:36:27
Pushed At2024-03-11 13:35:19
Last Commit At2024-02-28 21:08:03
Release Count43
Last Release Namev3.3.0 (Posted on )
First Release Name0.1.0 (Posted on )
用户参与
Stargazers Count1.1k
Watchers Count48
Fork Count357
Commits Count493
Has Issues Enabled
Issues Count581
Issue Open Count112
Pull Requests Count70
Pull Requests Open Count14
Pull Requests Close Count48
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private