Raruto / leaflet-elevation

Leaflet plugin that allows to add elevation profiles using d3js
GNU General Public License v3.0
255 stars 85 forks source link

Toggle waypoint tooltip and popup content visibility #165

Closed ghost closed 2 years ago

ghost commented 2 years ago

Another question: In my GPX file there is a field and a field with a link to a website. With the current script I get a tooltip with and and also in the popup. I only want the in the popup and both in the popup. Can I set this anywhere?

Raruto commented 2 years ago

Hi bktn011, just use a css selector like the following:

.elevation-tooltip a {
  display: none;
}

Reference: leaflet-elevation_gpx-waypoints.html