eddiewebb / flarum-gpx-preview

MIT License
1 stars 3 forks source link

Support Open Street Maps #5

Open eddiewebb opened 3 years ago

eddiewebb commented 3 years ago

from #4 - allow Open Street Maps (instead of Google API)

eddiewebb commented 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.

s1-ranjan commented 3 years ago

https://github.com/Luuka/GPXParser.js is a good one which can use with leaflet to embed an OpenStreetMap map.

eddiewebb commented 3 years ago

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.

Profi420 commented 2 years ago

Openstreetmap would be awesome!

d-damien commented 8 months ago

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.