Cool. So this would need to be setup locally on the server that uses it. Also, it's basically just a drop-in replacement for Google Maps. I can't see that it offers any other advantages, except a different design.
fabiosistemi Operation is simple, 3 files are required: maps.html, leaflet.css and leaflet.js
Seems simple enough. Did you set it up locally already?
fabiosistemi Can you tell me how to create the custom button to pass the coordinates into the link?
This is custom contextmenu button, eg the dropdown menu that displays when right-clicking or clicking the three-dots button on any image. First go here, and prepare the setup _files/js/custom.js
.
https://www.files.gallery/docs/javascript-config/
Then something like this:
_c.config = {
// custom context menu (dropdown) options
contextmenu: {
rotate: {
text: 'rotate',
// icon name, or include custom icon <path d="..."> value from https://pictogrammers.com/library/mdi/
icon: 'marker',
condition: (item) => item.gps,
href: (item) => {
return '/yourmaplink/?center=' + item.gps[0] + ',' + item.gps[1] + '&zoom=50';
},
// action: (item) => _h.popup(null, null, null, item.url_path),
},
},
}