@raruto/leaflet-elevation 2.3.4 → 2.5.0
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 +325 -323
- package/dist/leaflet-elevation.js +1619 -1575
- package/dist/leaflet-elevation.js.map +1 -1
- package/dist/leaflet-elevation.min.js +1 -1
- package/dist/leaflet-elevation.min.js.map +1 -1
- package/libs/leaflet-gpxgroup.js +346 -340
- package/libs/leaflet-gpxgroup.min.js +1 -1
- package/libs/leaflet-hotline.js +456 -456
- package/package.json +74 -74
- package/src/components/chart.js +783 -783
- package/src/components/d3.js +649 -641
- package/src/components/marker.js +96 -96
- package/src/control.js +1335 -1332
- package/src/handlers/labels.js +45 -0
- package/src/handlers/lineargradient.js +122 -0
- package/src/handlers/runner.js +109 -0
- package/src/handlers/time.js +102 -102
- package/src/options.js +88 -88
- package/src/utils.js +203 -163
package/package.json
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@raruto/leaflet-elevation",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "A Leaflet plugin that allows to add elevation profiles using d3js",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/leaflet-elevation.min.js",
|
|
7
|
-
"browser": "dist/leaflet-elevation.min.js",
|
|
8
|
-
"module": "src/index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"test": "uvu . ^(examples)?(src)?\\.*\\.spec\\.js$",
|
|
11
|
-
"build": "rollup -c build/rollup.config.js",
|
|
12
|
-
"watch": "rollup -c build/rollup.config.js --watch",
|
|
13
|
-
"dev": "npm-run-all --print-label --parallel serve watch",
|
|
14
|
-
"serve": "http-server",
|
|
15
|
-
"version": "npm run build && git add -A"
|
|
16
|
-
},
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "https://github.com/Raruto/leaflet-elevation.git"
|
|
20
|
-
},
|
|
21
|
-
"keywords": [
|
|
22
|
-
"leaflet",
|
|
23
|
-
"d3js",
|
|
24
|
-
"javascript",
|
|
25
|
-
"elevation",
|
|
26
|
-
"highchart",
|
|
27
|
-
"kml",
|
|
28
|
-
"altitude",
|
|
29
|
-
"gpx",
|
|
30
|
-
"gps-visualizer",
|
|
31
|
-
"tcx"
|
|
32
|
-
],
|
|
33
|
-
"author": {
|
|
34
|
-
"name": "Felix “MrMufflon” Bache",
|
|
35
|
-
"url": "https: //github.com/MrMufflon/Leaflet.Elevation"
|
|
36
|
-
},
|
|
37
|
-
"contributors": [
|
|
38
|
-
{
|
|
39
|
-
"name": "Raruto",
|
|
40
|
-
"url": "https://github.com/Raruto/leaflet-elevation"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "Felix Bache",
|
|
44
|
-
"web": "https://github.com/HostedDinner/Leaflet.Elevation"
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"license": "GPL-3.0",
|
|
48
|
-
"bugs": {
|
|
49
|
-
"url": "https://github.com/Raruto/leaflet-elevation/issues"
|
|
50
|
-
},
|
|
51
|
-
"homepage": "https://github.com/Raruto/leaflet-elevation#readme",
|
|
52
|
-
"devDependencies": {
|
|
53
|
-
"@rollup/plugin-commonjs": "^24.1.0",
|
|
54
|
-
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
55
|
-
"@rollup/plugin-terser": "^0.4.1",
|
|
56
|
-
"http-server": "^14.1.1",
|
|
57
|
-
"jsdom": "^21.1.1",
|
|
58
|
-
"leaflet": "^1.7.1",
|
|
59
|
-
"npm-run-all": "^4.1.5",
|
|
60
|
-
"playwright": "^1.32.3",
|
|
61
|
-
"postcss": "^8.4.23",
|
|
62
|
-
"postcss-copy": "^7.1.0",
|
|
63
|
-
"postcss-import": "^15.1.0",
|
|
64
|
-
"rollup": "^3.21.0",
|
|
65
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
66
|
-
"uvu": "^0.5.6"
|
|
67
|
-
},
|
|
68
|
-
"peerDependencies": {
|
|
69
|
-
"@tmcw/togeojson": "5.6.
|
|
70
|
-
"d3": "7.8.4",
|
|
71
|
-
"leaflet": "^1.7.0",
|
|
72
|
-
"leaflet-i18n": "^0.3.1"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@raruto/leaflet-elevation",
|
|
3
|
+
"version": "2.5.0",
|
|
4
|
+
"description": "A Leaflet plugin that allows to add elevation profiles using d3js",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/leaflet-elevation.min.js",
|
|
7
|
+
"browser": "dist/leaflet-elevation.min.js",
|
|
8
|
+
"module": "src/index.js",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"test": "uvu . ^(examples)?(src)?\\.*\\.spec\\.js$",
|
|
11
|
+
"build": "rollup -c build/rollup.config.js",
|
|
12
|
+
"watch": "rollup -c build/rollup.config.js --watch",
|
|
13
|
+
"dev": "npm-run-all --print-label --parallel serve watch",
|
|
14
|
+
"serve": "http-server",
|
|
15
|
+
"version": "npm run build && git add -A"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/Raruto/leaflet-elevation.git"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"leaflet",
|
|
23
|
+
"d3js",
|
|
24
|
+
"javascript",
|
|
25
|
+
"elevation",
|
|
26
|
+
"highchart",
|
|
27
|
+
"kml",
|
|
28
|
+
"altitude",
|
|
29
|
+
"gpx",
|
|
30
|
+
"gps-visualizer",
|
|
31
|
+
"tcx"
|
|
32
|
+
],
|
|
33
|
+
"author": {
|
|
34
|
+
"name": "Felix “MrMufflon” Bache",
|
|
35
|
+
"url": "https: //github.com/MrMufflon/Leaflet.Elevation"
|
|
36
|
+
},
|
|
37
|
+
"contributors": [
|
|
38
|
+
{
|
|
39
|
+
"name": "Raruto",
|
|
40
|
+
"url": "https://github.com/Raruto/leaflet-elevation"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Felix Bache",
|
|
44
|
+
"web": "https://github.com/HostedDinner/Leaflet.Elevation"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"license": "GPL-3.0",
|
|
48
|
+
"bugs": {
|
|
49
|
+
"url": "https://github.com/Raruto/leaflet-elevation/issues"
|
|
50
|
+
},
|
|
51
|
+
"homepage": "https://github.com/Raruto/leaflet-elevation#readme",
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@rollup/plugin-commonjs": "^24.1.0",
|
|
54
|
+
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
55
|
+
"@rollup/plugin-terser": "^0.4.1",
|
|
56
|
+
"http-server": "^14.1.1",
|
|
57
|
+
"jsdom": "^21.1.1",
|
|
58
|
+
"leaflet": "^1.7.1",
|
|
59
|
+
"npm-run-all": "^4.1.5",
|
|
60
|
+
"playwright": "^1.32.3",
|
|
61
|
+
"postcss": "^8.4.23",
|
|
62
|
+
"postcss-copy": "^7.1.0",
|
|
63
|
+
"postcss-import": "^15.1.0",
|
|
64
|
+
"rollup": "^3.21.0",
|
|
65
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
66
|
+
"uvu": "^0.5.6"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"@tmcw/togeojson": "5.6.2",
|
|
70
|
+
"d3": "7.8.4",
|
|
71
|
+
"leaflet": "^1.7.0",
|
|
72
|
+
"leaflet-i18n": "^0.3.1"
|
|
73
|
+
}
|
|
74
|
+
}
|