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

Download link #23

Closed starwash closed 5 years ago

starwash commented 5 years ago

How can I remove te GPX info + downloadlink that you recently added?

elevationControl: {
      url: 'gpx.gpx',
      options: {
        downloadLink: false, // not working
        position: "topright",
        theme: "lime-theme",
        useHeightIndicator: true,
        collapsed: true,
        detachedView: false,
        elevationDiv: "#elevation-div",
      }

I added the line downloadLink: false, but that doesn't seem to work.

Raruto commented 5 years ago

From version 0.6.9 should work as you wish.