Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Leaflet More Markers

Most sites use a single marker style for each and every marker on each and every map. Using the same plain marker for all content, doesn't convey much of interest to the viewer, except for the location.
Leaflet More Markers spruces up your Leaflet maps with a variety of markers that are eye-catching and say something relevant about the location they represent.
Each piece of content (or other entity instance) can have its own unique font icon or emoji marker. If not provided, the marker automatically falls back to the default blue map pin.

To make things easy, the module automatically applies the correct marker size dependent offsets to align pixel coordinates with latitudes and longitudes on the map. Thus your icons always appear in the exact right spot, no matter the zoom level the visitor is on.

It works for markers on individual content pages as well as on maps in Views.

Guide maintainers

rdeboer's picture