leaflet-routing-machine

WebJar for leaflet-routing-machine

License

License

MIT
Categories

Categories

Github Development Tools Version Controls Leaf Data Databases
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

github-com-perliedman-leaflet-routing-machine
Last Version

Last Version

3.2.5
Release Date

Release Date

Type

Type

jar
Description

Description

leaflet-routing-machine
WebJar for leaflet-routing-machine
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/perliedman/leaflet-routing-machine

Download github-com-perliedman-leaflet-routing-machine

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-perliedman-leaflet-routing-machine/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-perliedman-leaflet-routing-machine</artifactId>
    <version>3.2.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-perliedman-leaflet-routing-machine/
implementation 'org.webjars.bower:github-com-perliedman-leaflet-routing-machine:3.2.5'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-perliedman-leaflet-routing-machine/
implementation ("org.webjars.bower:github-com-perliedman-leaflet-routing-machine:3.2.5")
'org.webjars.bower:github-com-perliedman-leaflet-routing-machine:jar:3.2.5'
<dependency org="org.webjars.bower" name="github-com-perliedman-leaflet-routing-machine" rev="3.2.5">
  <artifact name="github-com-perliedman-leaflet-routing-machine" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-perliedman-leaflet-routing-machine', version='3.2.5')
)
libraryDependencies += "org.webjars.bower" % "github-com-perliedman-leaflet-routing-machine" % "3.2.5"
[org.webjars.bower/github-com-perliedman-leaflet-routing-machine "3.2.5"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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.

Update 2020-04-06: Out of the box, Leaflet Routing Machine relies on OSRM's demo server. At this moment, the demo server (which is outside scope of the plugin and outside control of the plugin's author) is no longer maintained, and its SSL certificate has expired. The plugin will not work unless you configure a routing backend yourself. I am sorry to say that, to my knowledge, there is no good default.

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/[email protected]/dist/leaflet-routing-machine.css" />
<script src="https://unpkg.com/[email protected]/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.

Versions

Version
3.2.5