makinacorpus/Leaflet.LineExtremities

Name: Leaflet.LineExtremities

Owner: Makina Corpus

Description: Displays the extremities of a Polyline

Created: 2014-04-12 15:38:52.0

Updated: 2018-01-05 04:57:18.0

Pushed: 2016-05-20 09:17:43.0

Homepage: http://makinacorpus.github.io/Leaflet.LineExtremities/

Size: 112

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Leaflet.LineExtremities

Shows symbols on the extremities of a Polyline, using SVG markers.

Check out the demo !

Leaflet versions

The version on the gh-pages branch targets Leaflet 0.7.3.

Please use the leaflet0.8-dev branch to be compatible with the development version of Leaflet (0.8).

Usage

To display dots at the extremities of a Polyline:

var layer = L.polyLine(...);

layer.showExtremities('dotM');

There is currently 5 types of markers:

CHANGELOG
0.1.1
Authors

Makina Corpus


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.