File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
export { WebMap } from './WebMap' ;
2
2
export { initMap } from './InitMap' ;
3
+ export { WebMap as WebMapV3 } from './webmap/v3/WebMap' ;
Original file line number Diff line number Diff line change @@ -263,5 +263,3 @@ export class WebMap extends mapboxgl.Evented {
263
263
return layers ;
264
264
}
265
265
}
266
-
267
- mapboxgl . supermap . WebMapV3 = WebMap ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ import {
64
64
ChartView
65
65
} from '@supermap/iclient-common/namespace' ;
66
66
67
- import { WebMap , initMap } from './mapping' ;
67
+ import { WebMap , initMap , WebMapV3 } from './mapping' ;
68
68
import mapboxgl from 'mapbox-gl' ;
69
69
70
70
mapboxgl . supermap = { ...SuperMap , ...mapboxgl . supermap } ;
@@ -75,6 +75,7 @@ mapboxgl.supermap.Util = Util;
75
75
mapboxgl . supermap . decryptSources = decryptSources ;
76
76
mapboxgl . supermap . WebMap = WebMap ;
77
77
mapboxgl . supermap . initMap = initMap ;
78
+ mapboxgl . supermap . WebMapV3 = WebMapV3 ;
78
79
mapboxgl . supermap . Graphic = Graphic ;
79
80
mapboxgl . supermap . map . getDefaultVectorTileStyle = getDefaultVectorTileStyle ;
80
81
mapboxgl . supermap . map . setBackground = setBackground ;
You can’t perform that action at this time.
0 commit comments