Use Heightgraph transpiled
This commit is contained in:
parent
5fd3977768
commit
77ed28cb76
3 changed files with 236 additions and 238 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
BR.Heightgraph = L.Control.Heightgraph.extend({
|
BR.Heightgraph = function(map, layersControl, routing, pois) {
|
||||||
|
Heightgraph = L.Control.Heightgraph.extend({
|
||||||
options: {
|
options: {
|
||||||
width: $('#map').outerWidth(),
|
width: $('#map').outerWidth(),
|
||||||
margins: {
|
margins: {
|
||||||
|
|
@ -253,3 +254,7 @@ console.log("gradient %:", currentGradientPercentage,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var heightgraphControl = new Heightgraph();
|
||||||
|
return heightgraphControl;
|
||||||
|
};
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@
|
||||||
"bootstrap-select": "1.13.6",
|
"bootstrap-select": "1.13.6",
|
||||||
"bootstrap-slider": "^9.8.1",
|
"bootstrap-slider": "^9.8.1",
|
||||||
"codemirror": "^5.35.0",
|
"codemirror": "^5.35.0",
|
||||||
"d3": "~3.5.5",
|
|
||||||
"datatables": "~1.10.18",
|
"datatables": "~1.10.18",
|
||||||
"font-awesome": "^4.7.0",
|
"font-awesome": "^4.7.0",
|
||||||
"i18next": "^15.0.4",
|
"i18next": "^15.0.4",
|
||||||
|
|
@ -175,11 +174,10 @@
|
||||||
},
|
},
|
||||||
"leaflet.heightgraph": {
|
"leaflet.heightgraph": {
|
||||||
"main": [
|
"main": [
|
||||||
"src/L.Control.Heightgraph.js",
|
"dist/L.Control.Heightgraph.js",
|
||||||
"src/L.Control.Heightgraph.css",
|
"src/L.Control.Heightgraph.css",
|
||||||
"src/img/*.svg"
|
"dist/img/*.svg"
|
||||||
],
|
]
|
||||||
"dependencies": null
|
|
||||||
},
|
},
|
||||||
"leaflet-control-geocoder": {
|
"leaflet-control-geocoder": {
|
||||||
"main": [
|
"main": [
|
||||||
|
|
|
||||||
|
|
@ -2552,11 +2552,6 @@ d3-voronoi@1.1.2:
|
||||||
resolved "https://registry.yarnpkg.com/d3-voronoi/-/d3-voronoi-1.1.2.tgz#1687667e8f13a2d158c80c1480c5a29cb0d8973c"
|
resolved "https://registry.yarnpkg.com/d3-voronoi/-/d3-voronoi-1.1.2.tgz#1687667e8f13a2d158c80c1480c5a29cb0d8973c"
|
||||||
integrity sha1-Fodmfo8TotFYyAwUgMWinLDYlzw=
|
integrity sha1-Fodmfo8TotFYyAwUgMWinLDYlzw=
|
||||||
|
|
||||||
d3@~3.5.5:
|
|
||||||
version "3.5.17"
|
|
||||||
resolved "https://registry.yarnpkg.com/d3/-/d3-3.5.17.tgz#bc46748004378b21a360c9fc7cf5231790762fb8"
|
|
||||||
integrity sha1-vEZ0gAQ3iyGjYMn8fPUjF5B2L7g=
|
|
||||||
|
|
||||||
d@1:
|
d@1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a"
|
resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue