Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.
tmuguetPublic archive

About

Compute straight lines in Leaflet Routing Machine. Warning: Unmaintained and with potential security issues.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

Leaflet Routing Machine / Straight Line

npm version

Extends Leaflet Routing Machine to compute straight lines.

Using

There's a single class exported by this module, L.Routing.StraightLine. It implements the IRouter interface:

var L = require('leaflet');
require('leaflet-routing-machine');
require('lrm-straightline');

L.Routing.control({
  router: new L.Routing.StraightLine()
}).addTo(map);

About

Compute straight lines in Leaflet Routing Machine. Warning: Unmaintained and with potential security issues.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages