mpetazzoni / leaflet-gpx

A GPX track plugin for Leaflet.js
http://mpetazzoni.github.io/leaflet-gpx
BSD 2-Clause "Simplified" License
529 stars 114 forks source link

How to retrieve in the GPX file the content of the name tag of a WayPoint #124

Closed jpe54 closed 2 years ago

jpe54 commented 2 years ago

Hi,

GPX plugin for Leaflet How to retrieve in the GPX file the content of the name tag of a WayPoint to display it in the popup sue cli of the marker?

get_name (): returns the name of the GPX track and not the content of the tag

Col de Saint Ignace (64)

Best regard

jpe54 commented 2 years ago

Wpt_Name = String(feature.properties.name);