Thursday, April 16, 2020

Leaflet Libraries


Leaflet is a wonderfully lightweight mapping platform. However the functionality of the platform tin live on extended past times using whatsoever lay out of third-party plugins. The documentation for Leaflet includes a great listing of approximately of the available third-party plug-ins. Here are a few to a greater extent than that yous mightiness discovery useful.

Leaflet.draw is a vector drawing in addition to editing plugin for Leaflet. The library adds a drawing toolbar to a Leaflet map. The toolbar allows users to in addition to hence add together markers in addition to describe polylines, polygons, circles in addition to rectangles on the Leaflet map. Leaflet.draw is included inwards the plug-in listing inwards the Leaflet documentation but I've also included it hither because of the Leaflet.Toolbar plug-in.

Leaflet.Toolbar is a plug-in which allows yous to construct in addition to add together a flexible in addition to extensible toolbar to a Leaflet map. Leaflet.Toolbar extends the Leaflet.draw plugin to enable custom user interactions. You tin sentiment an event of Leaflet.Toolbar on this map.

Leaflet List Markers is a handy library for providing a dynamic carte du jour for all the markers displayed inwards the electrical current map view. When users conform the map sentiment the carte du jour automatically updates to listing solely the markers inwards the novel map view.

Leaflet.TransitionedIcon is a plug-in that allows markers to live on eased inwards in addition to out of sentiment on a map. The library allows yous to fade markers on in addition to off a Leaflet map. You tin come across the marking transitions inwards utilization on this demo map.

Mapbbcode has developed a large lay out of plug-ins for Leaflet. These include L.LetterIcon (round markers amongst text inside) in addition to L.FunctionButtons (add buttons to a map to invoke JavaScript functions).

No comments:

Post a Comment