Skip to content

Commit b32f1e4

Browse files
committed
2 parents e7f878c + 6849a67 commit b32f1e4

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

src/common/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@supermapgis/tile-decryptor": "^1.0.0",
2020
"@turf/center": "^6.5.0",
2121
"@turf/meta": "^6.5.0",
22+
"canvg": "3.0.10",
2223
"echarts": "5.5.0",
2324
"fast-xml-parser": "^4.2.7",
2425
"fetch-ie8": "1.5.0",
@@ -38,6 +39,7 @@
3839
"rbush": "^2.0.2",
3940
"urijs": "^1.19.11",
4041
"flv.js": "^1.6.2",
42+
"three": "0.150.1",
4143
"video.js": "^7.10.2",
4244
"videojs-flvjs-es6": "^1.0.1",
4345
"xlsx": "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz"

src/leaflet/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"jsonsql": "0.2.5",
2525
"pbf": "3.2.1",
2626
"flatgeobuf": "3.31.1",
27+
"proj4": "2.11.0",
2728
"rbush": "^2.0.2"
2829
}
2930
}

src/mapboxgl/package.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,12 @@
1616
"license": "Apache-2.0",
1717
"dependencies": {
1818
"@mapbox/mapbox-gl-style-spec": "^14.3.0",
19-
"@turf/center": "^6.5.0",
2019
"@turf/turf": "6.5.0",
20+
"@turf/meta": "^6.5.0",
2121
"mapv": "2.0.62",
2222
"mapbox-gl": "1.13.2",
23-
"three": "0.150.1",
2423
"@supermapgis/iclient-common": "11.3.0",
25-
"canvg": "3.0.10",
26-
"flatgeobuf": "3.31.1",
27-
"rbush": "^2.0.2",
28-
"proj4": "2.11.0",
29-
"flv.js": "^1.6.2",
30-
"video.js": "^7.10.2",
31-
"videojs-flvjs-es6": "^1.0.1"
24+
"lodash.clonedeep": "^4.5.0",
25+
"proj4": "2.11.0"
3226
}
3327
}

src/maplibregl/core/MapExtend.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@ import { createMapExtendExtending } from '@supermapgis/iclient-common/util/MapEx
1010
* @private
1111
*/
1212
export var MapExtend = (function () {
13+
const originMapProto = maplibregl.Map.prototype;
14+
15+
if (!originMapProto._inherit) {
1316
maplibregl.Map = class MapEnhance extends createMapExtendExtending(maplibregl) {
1417
constructor(options) {
1518
super(options);
1619
}
1720
}
21+
maplibregl.Map.prototype._inherit = true;
22+
}
1823
})();

src/maplibregl/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717
"dependencies": {
1818
"@maplibre/maplibre-gl-style-spec": "^20.3.0",
1919
"maplibre-gl": "4.3.2",
20-
"mapv": "2.0.62",
21-
"three": "0.150.1",
22-
"canvg": "3.0.10",
2320
"@supermapgis/iclient-common": "11.3.0",
24-
"rbush": "^2.0.2"
21+
"lodash.clonedeep": "^4.5.0",
22+
"proj4": "2.11.0"
2523
}
2624
}

src/openlayers/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
"mapv": "2.0.62",
2222
"ol": "7.5.2",
2323
"canvg": "3.0.10",
24+
"lodash.clonedeep": "^4.5.0",
2425
"lodash.remove": "^4.7.0",
2526
"lodash.difference": "^4.5.0",
2627
"flatgeobuf": "3.31.1",
27-
"rbush": "^2.0.2"
28+
"proj4": "2.11.0"
2829
}
2930
}

0 commit comments

Comments
 (0)