fstoerkle / leaflet-custom-paths

Draw custom paths with the Leaflet mapping library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leaflet-custom-paths

Draw custom paths with the Leaflet mapping library

Resources

Path data spec overview

SVG parameters VML parameters meaning
M/m (x y)+ m/- (x y) move to (x y)
L/l (x y)+ l/r (x y)+ line to (x y)
H/h x+ - - horizontal lineto x
V/v y+ - - vertical lineto y
Z,z - x - close path
- - e - end path
C/c (x1 y1 x2 y2 x y)+ c/v (x1 y1 x2 y2 x y)+ cubic bézier curve to (x y) with control points (x1 y1) and (x2 y2)

About

Draw custom paths with the Leaflet mapping library

License:MIT License


Languages

Language:JavaScript 97.0%Language:CSS 3.0%