https://github.com/hupe13/extensions-leaflet-map-github
WordPress Plugin Extensions for Leaflet Map - Github Version
https://github.com/hupe13/extensions-leaflet-map-github
elevation fullscreen hover leaflet-map markercluster wordpress-plugin zoomhome
Last synced: 10 months ago
JSON representation
WordPress Plugin Extensions for Leaflet Map - Github Version
- Host: GitHub
- URL: https://github.com/hupe13/extensions-leaflet-map-github
- Owner: hupe13
- License: gpl-2.0
- Created: 2020-11-03T19:57:37.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T17:37:08.000Z (10 months ago)
- Last Synced: 2025-04-09T18:44:11.580Z (10 months ago)
- Topics: elevation, fullscreen, hover, leaflet-map, markercluster, wordpress-plugin, zoomhome
- Language: PHP
- Homepage:
- Size: 28.8 MB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Extensions for Leaflet Map Github Version
Contributors: hupe13
Tags: leaflet, gpx, geojson, hover, marker
Tested up to: 6.8
Stable tag: 4.4.5
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Extends the WordPress Plugin Leaflet Map with Leaflet Plugins and other functions.
## Description
Extends the WordPress Plugin Leaflet Map with Leaflet Plugins and other functions.
This is the Github Version.
[Differences](changes.md) to the WordPress version.
Releases are the same as the WordPress versions. If you want test the Github version, download from [tags](https://github.com/hupe13/extensions-leaflet-map-github/tags).
### Functions
### Deutsch
* Erstelle ein Höhenprofil eines Tracks. Es gibt ebenso Beschleunigungsdiagramm, Steigungsdiagramm, Geschwindigkeitsdiagramm, Tempodiagramm. Du kannst auch mehrere Tracks auf einer Karte darstellen.
* Standardmäßig verwendet Leaflet Map die Kacheln von openstreetmap.org bzw. die von dir konfigurierten Kachelserver. Du kannst weitere verwenden und zwischen ihnen umschalten.
* Viele Marker auf einer Karte werden unübersichtlich. Du kannst sie clustern und gestalten.
* Du kannst Awesome-Markers verwenden.
* Du kannst Elemente auf der Karte nach Kriterien gruppieren und ein- und ausblenden.
* Erstelle eine Übersichtskarte mit den auf den Seiten und Beiträgen hinterlegten Geopositionen.
* Erhalte einen Tooltip beim Überfahren eines Elementes mit der Maus.
* Du kannst eine Choropleth-Karte gestalten.
* Du kannst dir die Karte im Vollbildmodus anzeigen lassen.
* Setze die Karte zurück.
* Gestensteuerung.
* Verwalte deine Dateien für Leaflet Map.
* Hilfe zum Migrieren von [WP GPX Maps](https://wordpress.org/plugins/wp-gpx-maps/).
* und weitere Funktionen.
### English
* 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 an overview map with geo-locations provided in the pages and posts.
* Get a tooltip when hovering over an element.
* You can design a choropleth map.
* You can display the map in fullscreen mode.
* Reset the map.
* Gesture handling
* Manage your files for Leaflet Map.
* Help to migrate from [WP GPX Maps](https://wordpress.org/plugins/wp-gpx-maps/).
* and more functions.
### Included Leaflet Plugins and fonts
#### Leaflet Plugins
* [leaflet-elevation](https://github.com/Raruto/leaflet-elevation): A Leaflet plugin that allows to add elevation profiles using d3js.
* [Leaflet.GeometryUtil](https://github.com/makinacorpus/Leaflet.GeometryUtil)
* [Leaflet.i18n](https://github.com/yohanboniface/Leaflet.i18n): Internationalisation module for Leaflet plugins.
* [leaflet-rotate](https://github.com/Raruto/leaflet-rotate): A Leaflet plugin that allows to add rotation functionality to map tiles
* [Leaflet.AlmostOver](https://github.com/makinacorpus/Leaflet.AlmostOver): This plugin allows to detect mouse click and overing events on lines, with a tolerance distance.
* [@tmcw/togeojson](https://www.npmjs.com/package/@tmcw/togeojson): Convert KML, GPX, and TCX to GeoJSON.
* [D3](https://github.com/d3/d3): Data-Driven Documents
* [Leaflet-providers](https://github.com/leaflet-extras/leaflet-providers): An extension that contains configurations for various tile providers.
* [Leaflet.Control.Opacity](https://github.com/dayjournal/Leaflet.Control.Opacity): Makes multiple tile layers transparent.
* [Leaflet.markercluster](https://github.com/Leaflet/Leaflet.markercluster): Provides Beautiful Animated Marker Clustering functionality.
* [Leaflet.MarkerCluster.PlacementStrategies](https://github.com/adammertel/Leaflet.MarkerCluster.PlacementStrategies): Styling Markerclusters.
* [Leaflet.ExtraMarkers](https://github.com/coryasilva/Leaflet.ExtraMarkers): Shameless copy of Awesome-Markers with more shapes and colors.
* [Leaflet List Markers](https://github.com/hupe13/leaflet-list-markers): A Leaflet Control for listing visible markers in the map.
* [Leaflet.FeatureGroup.SubGroup](https://github.com/ghybs/Leaflet.FeatureGroup.SubGroup): Grouping of Leaflet elements by options and features.
* [Leaflet.Control.Layers.Tree](https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree): A Tree Layers Control for Leaflet.
* [Leaflet Control Search](https://github.com/stefanocudini/leaflet-search): Search Markers/Features location by option or custom property.
* [leaflet-choropleth](https://github.com/timwis/leaflet-choropleth): Choropleth plugin for Leaflet (color scale based on value).
* [leaflet.zoomhome](https://github.com/torfsen/leaflet.zoomhome): Provides a zoom control with a "Home" button to reset the view.
* [leaflet.fullscreen](https://github.com/brunob/leaflet.fullscreen): Simple plugin for Leaflet that adds fullscreen button to your maps.
* [Leaflet.GestureHandling](https://github.com/Raruto/leaflet-gesture-handling): A Leaflet plugin that allows to prevent default map scroll/touch behaviours.
* [turf](https://github.com/Turfjs/turf): Advanced geospatial analysis for browsers and Node.js
#### Font
* [Font Awesome 6](https://fontawesome.com/download)
## Screenshots
1. Track with elevation and speed profiles

2. ExtraMarkers

3. Grouping and Tree View

4. Markercluster PlacementStrategies

5. Tooltip on Hover

6. Manage Leaflet Map files

## Documentation
Detailed documentation and examples in German and English.
## Thank you
Many thanks to everyone who found errors and provided ideas for new functions.
## Frequently Asked Questions
Is there a widget or other support for the editor?
* Unfortunately both plugins - Leaflet Map and Extensions for Leaflet Map - only work with shortcodes.
* If you have any questions please ask in the [forum](https://wordpress.org/support/plugin/extensions-leaflet-map/).
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](https://wordpress.org/support/plugin/extensions-leaflet-map/)!
Apropos GDPR/DSGVO
* If you need a plugin for this try [DSGVO snippet for Leaflet Map and its Extensions](https://wordpress.org/plugins/dsgvo-leaflet-map/).
* If you use [Complianz | GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/) see [here](https://complianz.io/leaflet-maps/).
## 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.
## Changelog
### 4.4.5 / 250407
* layerswitch - bug if min_zoom > 0 fixed
* new translation: dutch nl_NL
* WordPress 6.8
### Previous
[Changelog](https://github.com/hupe13/extensions-leaflet-map-github/blob/main/CHANGELOG.md)