Overlay maps with GPS tracks

GPS tracks in GPX format can be added to a map as overlays. The format to be used is [map context="node/{nid}/context" layers="a,b" a="gpx|path/to/first/gpx|1st Title" b="gpx|path/to/second/gpx|2nd Title"/].

Note that when multiple gpx tracks are shown, only the last one will show popups when selecting the waypoints.

This map was defined as [map context="node/61/context" layers="a,b" a="gpx|sites/default/files/f-zholland-limes-katwijk-nijmegen.gpx|Limes route" b="gpx|sites/default/files/pieterpad.gpx|Pieterpad|sites/default/files/star.png|style={strokeColor:#00ff00,strokeWidth:5,strokeOpacity:0.4,strokeDashstyle:dash}" /]. The parameters to specify the title and marker are empty (|||). The stroke dash style will be supported in the next OpenLayers release (2.7).

 

AttachmentSize
pieterpad.gpx602.63 KB
f-zholland-limes-katwijk-nijmegen.gpx163.77 KB