Using predefined markers with plugins
In the first three chapters, you used the default Leaflet marker. In this chapter, you have just learned how to draw your own or use a pre-existing image. Rolling your own is not always practical, especially if you are not proficient in drawing. In this section, you will learn about two plugins that have stylish markers that you can customize and use in your Leaflet map: Maki markers and Bootstrap/Awesome markers.
Using Mapbox Maki markers
Mapbox is a company that provides a mapping platform and tools. Its icons have been made available through the Leaflet.Makimarkers
plugin. You can download the plugin at https://github.com/jseppi/Leaflet.MakiMarkers.
Note
You can learn about Mapbox by visiting their website ...
Get Leaflet.js Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.