Display GPX trace on OSM

Hi everybody,
I have been using Google Maps to display about 700 .gpx treaces on map but Google has changed the rules : it does not work anymore.
Exemple : http://www.rudyv.be/MapV1.html?map=140602-LFQJ-LFQV.xml
How can I display my traces on OSM on my own web page ?

See
https://forum.openstreetmap.org/viewtopic.php?id=63211

Thank you for the link where I’ve found this https://leafletjs.com/examples/quick-start/
Immediately a new question

var mymap = L.map('mapid').setView([51.505, -0.09], 13);

How can I find the center coordinates and the zoom level from my .gpx trace file ?
I’m not a .js specialist !

You can see them in the url of the map
For Bruxelles
https://www.openstreetmap.org/#map=11/50.8417/4.3293

50.8417, 4.3293 and zoom level is 11

For your gpx file the script “map.fitBounds(runLayer.getBounds());” will do the job.

OK for fitBounds but I’m not a .js specialist.
For the moment I use for instance http://www.rudyv.be/Map.html?map=Vlucht1.xml
Vlucht1.xml is a .gpx file (simply renamed to .xml) containing the to be displayed trace.
How can I display that trace on an OSM map ?

Upload the gpx file to your website and point leaflet to that file.
You don’t have to code anything, just copy it from my website and point it to your gps files.

I don’t think I have the URL of your Website.

I send you several e-mails about it??

Sorry, I thought it was somebody else.
As I told you
ik zal proberen uw script te copiëren, snoien om aleen maar de kaart bewaren
En dan kom ik terug aan jou