=== Extensions for Leaflet Map === Contributors: hupe13 Tags: leaflet-map, elevation, markercluster, zoomhome, hover, fullscreen Requires at least: 5.5.3 Tested up to: 5.7 Stable tag: 1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html == Description == Plugin to extend the Wordpress Plugin Leaflet Map, see Bozdoz FAQ. = Wordpress Plugin = You need to install the plugin "Leaflet Map". = Involved Leaflet Plugins = * [leaflet-elevation](https://github.com/Raruto/leaflet-elevation) * [leaflet.fullscreen](https://github.com/brunob/leaflet.fullscreen) * [Leaflet.GestureHandling](https://github.com/elmarquis/Leaflet.GestureHandling) * [Leaflet.markercluster](https://github.com/Leaflet/Leaflet.markercluster) * [leaflet.zoomhome](https://github.com/torfsen/leaflet.zoomhome) = Other functions = * hovergeojson: Use it to highlight a geojson area or line on mouse over. * Hide Markers: Use it when a track in a GPX file contains some markers and you don't want to display them on the map. = Shortcodes = * Display a track with elevation profile
[leaflet-map ....]
// at least one marker if you use it with zoomehomemap
[leaflet-marker lat=... lng=... ...]Start[/leaflet-marker]
[elevation gpx="url_gpx_file"]
// or
[elevation gpx="url_gpx_file" summary=1]
* Fullscreen
[fullscreen]
* GestureHandling
[leaflet-map dragging ... ]
// or
[leaflet-map scrollwheel ... ]
// or
[leaflet-map dragging scrollwheel ... ]
* Leaflet.markercluster
[leaflet-map ....]
// many markers
[leaflet-marker lat=... lng=... ...]poi1[/leaflet-marker]
[leaflet-marker lat=... lng=... ...]poi2[/leaflet-marker]
 ...
[leaflet-marker lat=... lng=... ...]poixx[/leaflet-marker]
[cluster]
* leaflet.zoomhome
[leaflet-map ....]
  ...
[zoomhomemap]
* Hide Markers
[leaflet-map ...]
[leaflet-gpx src="//url/to/file.gpx" ... ]
[hidemarkers]
* hovergeojson
[leaflet-map ...]
[leaflet-geojson src="//url/to/file.geojson" color="..."]...[/leaflet-geojson]
//or / and
[leaflet-gpx src="//url/to/file.gpx" color="..."]...[/leaflet-gpx]
//or / and
[leaflet-kml src="//url/to/file.kml" color="..."]...[/leaflet-kml]
[hover]
Mehr Dokumentation auf deutsch. Code is available on GitHub also. Maybe new functions are here. == Screenshots == 1. Track with elevation profile 2. Hover a Geojson area 3. Markercluster 4. GestureHandling == Installation == You can install the plugin through the WordPress installer under Plugins → Add New by searching for "extensions-leaflet-map". Alternatively you can download the file from here, unzip it and move the unzipped contents to the wp-content/plugins folder of your WordPress installation. You will then be able to activate the plugin. (Optionally) Go to Settings - Leaflet Map - Extensions for Leaflet Map and select a theme for elevation. == Changelog == = 1.0 = * First Release