Skip to content

fstoerkle/leaflet-custom-paths

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published