Extensions for Leaflet Map

Description

Extends the WordPress Plugin Leaflet Map with Leaflet Plugins and other functions.

Functions

  • Create an elevation chart profile of a track. There are also acceleration, slope, speed and tempo chart profiles. You can also place multiple tracks on one map.

  • By default Leaflet Map uses tiles from openstreetmap.org or from the tile servers you configured. You can use more and switch between them.

  • Many markers on a map become confusing. You can cluster and shape them.

  • You can use Awesome markers.

  • You can group the elements on the map by criteria and show/hide them.

  • Create a “featured map”.

  • Create an overview map with geo-locations provided in the pages and posts.

  • Get a tooltip when hovering over an element.

  • You can display the map in fullscreen mode.

  • Reset the map.

  • Gesture handling

  • Manage your files for Leaflet Map.

  • and more functions.

Included Leaflet Plugins

Leaflet Plugins

Removed

Included Font

Documentation

Detailed documentation and examples in German and English.

Thank you

Many thanks to everyone who found errors and provided ideas for new functions.

Screenshots

Installation

  • First you need to install and configure the plugin Leaflet Map.
  • Then install this plugin.
  • Go to Settings – Leaflet Map – Extensions for Leaflet Map and get documentation and settings options.

FAQ

Is there a widget or other support for the editor?

  • Yes there is! Take a look to CartoBlocks for Leaflet! This handles shortcodes for Leaflet Map, but then you can use the shortcodes from Extensions!
  • If you have any questions please ask in the forum.

My gpx file is not displayed!

  • Is the URL correct?
  • Does the webserver return the correct mime type (application/gpx+xml)?
    Put in your .htaccess:
    AddType application/gpx+xml gpx
    RewriteRule .*\.gpx$ - [L,T=application/gpx+xml]

It doesn’t work!

  • Are you using any caching plugin? Try to exclude at least these js files from caching:

    • /wp-content/plugins/extensions-leaflet-map/leaflet-plugins/leaflet-elevation-*
    • /wp-content/plugins/extensions-leaflet-map/leaflet-plugins/leaflet-gesture-handling-*
  • Are you using any plugin to comply with the GDPR/DSGVO? There might be a problem with that.

  • If you use a caching plugin and a GDPR/DSGVO plugin you need to distinguish whether the user has accepted the cookie or not.
  • Please ask in the forum!

Apropos GDPR/DSGVO

How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.

Reviews

2025-08-04
One day I asked a question about one of the Leaflet plugins, the next day he completed integrating and included customizations! I've had some responsive developers, but this was pretty close to a "best ever" ranking!
2024-03-27
I used to display my cycling tracks using Leaflet and several extensions, but this plugin makes the work way easier!
2023-10-13
The extensions open up lots of loads of useful possibilities for mapping, so a big big thank you for creating, supporting users and continuing development. Keep up the excellent work.
Read all 24 reviews

Contributors & Developers

“Extensions for Leaflet Map” is open source software. The following people have contributed to this plugin.

Contributors

“Extensions for Leaflet Map” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “Extensions for Leaflet Map” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

6.1.1 / 261109

  • fixed: distanceMarkers in multielevation

6.1 / 261107

  • XSS fixes CVE-2026-114703
  • Please let me know if something isn’t working!!
  • leaflet-elevation-2.9.2 – fixes problems: detached, canvas and Safari, and more. Thank you to Raruto.
  • elevation option legend: black track and chart off fixed
  • leaflet-extramarker: removed option innerHTML due to the risk of a potential XSS attack
  • targetmarker/targetlink: debugging changed. New shortcode targetdebug, see documentation
  • leaflet-search: CHANGED! Please see documentation how to specify the new options.
  • sgpx: Updated the code for the new version of wp-gpx-maps, see documentation.
  • removed ‘<!–‘ and ‘//–>’ for <script>

Changelog