Adding markers, GPX file
-
Apologies in advance- seems I replied to my own thread by accident!
Here is my issue:
I put in my gpx URL and this displays my walking route on the map. However, I’m trying to put a marker in for the start point. I read in the instructions that this is possible:
“Note that you can display a GPX file and markers on the same map. The auto-zoom will work on the GPX file and not the markers. If your markers are just showing waypoints on the route then this will not be a problem, but if they lie outside the route then you may not see them all.”
So I made an attempt by putting the following with my existing shortcode:
[osmap gpx=”https://charlottesramblings.com/wp-content/uploads/2021/06/Mepal-and-the-Hundred-Foot-Drain.gpx”][osmap markers=”TL4404981313;Start”]
Then:
[osmap gpx=”https://charlottesramblings.com/wp-content/uploads/2021/06/Mepal-and-the-Hundred-Foot-Drain.gpx”osmap markers=”TL4404981313;Start”]One showed 2 maps- my map with route and no marker; and one below- zoomed in map with marker but no route.
Second attempt showed only the latter map.All I want is to put a marker on my existing gpx map. What am I doing wrong here? I’ll bet it’s a simple fix, but I’m stumped.
By the way, thank you so very much for your help.`
- The topic ‘Adding markers, GPX file’ is closed to new replies.