Outils et liens
📹 méthodes utiles
- closestOnPolygon() à écrire ?
- closestOnSegment(map, latlng, latlngA, latlngB) → {L.LatLng} voir Leaflet.GeometryUtil
- locateOnLine voir Leaflet.GeometryUtil
- distanceToSegment()
📐 references
- Leaflet.GeometryUtil, plugin de MakinaCorpus
- http://www.movable-type.co.uk/scripts/latlong.html
📎 explorer les plugins Leaflet utiles pour des prototypes https://leafletjs.com/plugins.html
-
pour les passages piétons
- OSM Building https://osmbuildings.org/?lat=52.52033&lon=13.40496&zoom=18.4&tilt=32&rotation=-44
- flèches https://github.com/slutske22/leaflet-arrowheads demo https://codesandbox.io/s/leaflet-arrowheads-example-zfxxc
- select polygons https://olanaso.github.io/Leaflet-Select-Polygons/
- mouse position stuff
-
Draw
- https://github.com/Leaflet/Leaflet.draw
- save from draw https://bl.ocks.org/danswick/d30c44b081be31aea483
- Path Transform
- https://github.com/w8r/Leaflet.Path.Transform
- demo : http://plnkr.co/edit/52jZIsZ2L9wtyuUsmbJl?p=preview&preview