• I am trying to display multiple GPX files in a single map. I have tried this

    [leaflet-map fitbounds scrollwheel]
    [leaflet-gpx src=https://www.example.com/200730-rowland.gpx blue]
    [leaflet-gpx src=https://www.example.com/200730-Ely.gpx green]

    These work when added individually, but only shows the first track when done exactly as above. Any ideas?

    Note: in the above example, these are not the real locations
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bozdoz

    (@bozdoz)

    I’ll see if I can reproduce this issue.

    Plugin Author bozdoz

    (@bozdoz)

    I cannot reproduce this issue. I tried this:

    [leaflet-map fitbounds]

    [leaflet-gpx src=https://cdn.jsdelivr.net/gh/mapbox/togeojson@master/test/data/run.gpx color=black]

    [leaflet-gpx src=https://cdn.jsdelivr.net/gh/mapbox/togeojson@master/test/data/trek.gpx color=red]

    Thread Starter thefallguy

    (@thefallguy)

    OK, it is now working. I can’t work out what I did wrong. Thanks for your help and sorry for wasting your time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to show multiple GPX on one map’ is closed to new replies.