File tree Expand file tree Collapse file tree 6 files changed +15
-14
lines changed Expand file tree Collapse file tree 6 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 19
19
"@supermapgis/tile-decryptor" : " ^1.0.0" ,
20
20
"@turf/center" : " ^6.5.0" ,
21
21
"@turf/meta" : " ^6.5.0" ,
22
+ "canvg" : " 3.0.10" ,
22
23
"echarts" : " 5.5.0" ,
23
24
"fast-xml-parser" : " ^4.2.7" ,
24
25
"fetch-ie8" : " 1.5.0" ,
38
39
"rbush" : " ^2.0.2" ,
39
40
"urijs" : " ^1.19.11" ,
40
41
"flv.js" : " ^1.6.2" ,
42
+ "three" : " 0.150.1" ,
41
43
"video.js" : " ^7.10.2" ,
42
44
"videojs-flvjs-es6" : " ^1.0.1" ,
43
45
"xlsx" : " https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz"
Original file line number Diff line number Diff line change 24
24
"jsonsql" : " 0.2.5" ,
25
25
"pbf" : " 3.2.1" ,
26
26
"flatgeobuf" : " 3.31.1" ,
27
+ "proj4" : " 2.11.0" ,
27
28
"rbush" : " ^2.0.2"
28
29
}
29
30
}
Original file line number Diff line number Diff line change 16
16
"license" : " Apache-2.0" ,
17
17
"dependencies" : {
18
18
"@mapbox/mapbox-gl-style-spec" : " ^14.3.0" ,
19
- "@turf/center" : " ^6.5.0" ,
20
19
"@turf/turf" : " 6.5.0" ,
20
+ "@turf/meta" : " ^6.5.0" ,
21
21
"mapv" : " 2.0.62" ,
22
22
"mapbox-gl" : " 1.13.2" ,
23
- "three" : " 0.150.1" ,
24
23
"@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"
32
26
}
33
27
}
Original file line number Diff line number Diff line change @@ -10,9 +10,14 @@ import { createMapExtendExtending } from '@supermapgis/iclient-common/util/MapEx
10
10
* @private
11
11
*/
12
12
export var MapExtend = ( function ( ) {
13
+ const originMapProto = maplibregl . Map . prototype ;
14
+
15
+ if ( ! originMapProto . _inherit ) {
13
16
maplibregl . Map = class MapEnhance extends createMapExtendExtending ( maplibregl ) {
14
17
constructor ( options ) {
15
18
super ( options ) ;
16
19
}
17
20
}
21
+ maplibregl . Map . prototype . _inherit = true ;
22
+ }
18
23
} ) ( ) ;
Original file line number Diff line number Diff line change 17
17
"dependencies" : {
18
18
"@maplibre/maplibre-gl-style-spec" : " ^20.3.0" ,
19
19
"maplibre-gl" : " 4.3.2" ,
20
- "mapv" : " 2.0.62" ,
21
- "three" : " 0.150.1" ,
22
- "canvg" : " 3.0.10" ,
23
20
"@supermapgis/iclient-common" : " 11.3.0" ,
24
- "rbush" : " ^2.0.2"
21
+ "lodash.clonedeep" : " ^4.5.0" ,
22
+ "proj4" : " 2.11.0"
25
23
}
26
24
}
Original file line number Diff line number Diff line change 21
21
"mapv" : " 2.0.62" ,
22
22
"ol" : " 7.5.2" ,
23
23
"canvg" : " 3.0.10" ,
24
+ "lodash.clonedeep" : " ^4.5.0" ,
24
25
"lodash.remove" : " ^4.7.0" ,
25
26
"lodash.difference" : " ^4.5.0" ,
26
27
"flatgeobuf" : " 3.31.1" ,
27
- "rbush " : " ^2.0.2 "
28
+ "proj4 " : " 2.11.0 "
28
29
}
29
30
}
You can’t perform that action at this time.
0 commit comments