Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Raruto committed May 15, 2019
2 parents 9aeb54f + d1fb7d2 commit 8894ee7
Show file tree
Hide file tree
Showing 5 changed files with 243 additions and 195 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ _For a working example see one of the following demos:_
<!-- leaflet-gpx -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-gpx/1.4.0/gpx.js"></script>
<!-- leaflet-elevation -->
<link rel="stylesheet" href="https://unpkg.com/@raruto/leaflet-elevation@0.1.3/leaflet-elevation.css" />
<script src="https://unpkg.com/@raruto/leaflet-elevation@0.1.3/leaflet-elevation.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@raruto/leaflet-elevation@0.2.0/leaflet-elevation.css" />
<script src="https://unpkg.com/@raruto/leaflet-elevation@0.2.0/leaflet-elevation.js"></script>
...
</head>
```
Expand Down Expand Up @@ -91,7 +91,9 @@ _For a working example see one of the following demos:_
controlZoom.addTo(map);
controlLayer.addTo(map);
controlElevation.loadGPX(map, opts.elevationControl.url);
controlElevation.loadChart(map); // attach elevation chart element to map
controlElevation.loadData(opts.elevationControl.url); // url or plain gpx/geojson data
map.addLayer(baseLayers.OTM);
</script>
Expand Down
Loading

0 comments on commit 8894ee7

Please sign in to comment.