Open eddiewebb opened 3 years ago
Love the idea. To be honest I only use google because I found a decent gpx parser already written. If you know of any for Open Street Maps, do share.
https://github.com/Luuka/GPXParser.js is a good one which can use with leaflet to embed an OpenStreetMap map.
If using leaflet there is a plugin: https://github.com/mpetazzoni/leaflet-gpx
Looks like openlayers has built in gpx support, https://openlayers.org/en/latest/examples/gpx.html
Will need some time to play with any of these options.
Openstreetmap would be awesome!
I have configured Leaflet-based maps using a "provider" URL template such as http://map.com/{x}/{y}/{z}
, indicating coordinates and zoom parameters in the URL.
Would be nice to have as an option. Maybe even allow several and let users pick one.
Use cases : allow different terrain visualizations ; internal server / confidentiality.
Edit : https://github.com/JeromeGillard/flarum-map already does it.
from #4 - allow Open Street Maps (instead of Google API)