hupe13
hupe13
I have just seen that my example did not work, now it works again. Thank you.
I'm closing this, I solved it with your example [code](https://github.com/Raruto/leaflet-elevation/pull/216#issuecomment-1296356245). Thank you very much.
It may be not what you want, but have a look at [[geojsonmarker]](https://leafext.de/en/doku/geojsonmarker/) or [[leaflet-featuregroup]](https://leafext.de/en/grouping/geojsonfeature/) from [Extensions for Leaflet Map](https://wordpress.org/plugins/extensions-leaflet-map/).
Have a look at [Extensions for Leaflet Map](https://wordpress.org/plugins/extensions-leaflet-map/).
> what doesn't work with
Yes it works with php 7, but it does not work with php < 7.
Due to your question I was just wondering why the minified versions are not loaded for me, even though they exist. But the code is: https://github.com/bozdoz/wp-plugin-leaflet-map/blob/b7fb694f6695e1b5f2b1df8ee17abd0bf40bb082/class.leaflet-map.php#L207-L211 and https://github.com/bozdoz/wp-plugin-leaflet-map/blob/b7fb694f6695e1b5f2b1df8ee17abd0bf40bb082/class.leaflet-map.php#L218 My setting...
This question also relates to this issue: https://wordpress.org/support/topic/leaflet-marker-shortcode-check-if-address-exists/
Some tiles have a max zoom and the max zoom from map must not be greater as the max zoom from tiles. If the max zoom from map is greater...
Or we need to have two options max_zoom, one for map and one for tiles. And the same for min_zoom. https://leafletjs.com/reference.html#map-minzoom https://leafletjs.com/reference.html#map-maxzoom