Active
Project:
Leaflet
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2013 at 21:05 UTC
Updated:
3 Apr 2014 at 18:48 UTC
Jump to comment: Most recent
Hi all:
For now, I'm input a track file (GPX or KML) and i can see the result with the leaflet module.
Anyone knows how i can add elevation parameter to a leaflet map?
I find the leaflet.elevation plugin, but that doesn't work on drupal, how i can use that?
The page that i've developed is http://www.ucaiguafreda.com/rutes
Thanks
Comments
Comment #1
balagan commentedI have a sandbox project that draws an elevation profile with the help of the jpgraph library: gpx parser
Comment #2
opare commentedThanks for your response.
The project is compatible with the leaflet module? What is the actual situation of the project?
I would like to try your project on my page.
Comment #3
balagan commentedI have started to reorganize everything. I am planning to use the highcharts javascript library. Elevation profiles have nothing to do with leaflet. Leaflet module works with geofields, and geofields do not hold elevation data.
You can still check out the gpx field module, although it uses google map to diplay data. A patch for geocoder would make it able to create geofield for a gpx field too, not only file fields. I hope to discuss things with the creator of gpx field during drupal developer days at Szeged in order to avoid duplication.
Comment #4
sano commentedMaybe you are aware of trackfield. If not, check this discussion out: https://drupal.org/node/1016956
I have used trackfield on my drupal 6 portal, but have not been able to make the quoted drupal 7 solution to work, even though it seems like others had more luck.