ol-elevation-profile 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<p>
|
|
4
4
|
<a href="https://www.npmjs.com/package/ol-elevation-profile"><img src="https://img.shields.io/npm/v/ol-elevation-profile.svg" alt="npm version"></a>
|
|
5
|
-
<a href="https://openlayers.org/"><img src="https://img.shields.io/badge/OpenLayers-6%
|
|
5
|
+
<a href="https://openlayers.org/"><img src="https://img.shields.io/badge/OpenLayers-6%20to%2010.10.0-1f6feb.svg" alt="OpenLayers 6 to 10.10.0"></a>
|
|
6
6
|
<a href="https://d3js.org/"><img src="https://img.shields.io/badge/d3-%E2%89%A5%207-f9a03c.svg" alt="d3 >= 7"></a>
|
|
7
7
|
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="License: MIT"></a>
|
|
8
8
|
</p>
|
|
@@ -24,8 +24,8 @@ It reads elevation (**Z**) directly from a track's geometry (`[lon, lat, z]` GPX
|
|
|
24
24
|
The control expects `ol` and `d3` to be present as globals (provided by your map page):
|
|
25
25
|
|
|
26
26
|
```html
|
|
27
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@10.
|
|
28
|
-
<script src="https://cdn.jsdelivr.net/npm/ol@10.
|
|
27
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@10.10.0/ol.css">
|
|
28
|
+
<script src="https://cdn.jsdelivr.net/npm/ol@10.10.0/dist/ol.js"></script>
|
|
29
29
|
<script src="https://cdn.jsdelivr.net/npm/d3@7/dist/d3.min.js"></script>
|
|
30
30
|
|
|
31
31
|
<link rel="stylesheet" href="ol-elevation-profile.css">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ol-elevation-profile",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Synchronized elevation profile control for OpenLayers, rendered with d3. Reads elevation from 3D GPX/GeoJSON, or fills it from a terrain model: AWS tiles, IGN RGE ALTI, XYZ, WMS, GeoTIFF, GeoServer, or your own source.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/ol-elevation-profile.js",
|