Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

12 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages