forked from SuperMap/iClient-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnamespace.js
More file actions
146 lines (139 loc) · 5.31 KB
/
namespace.js
File metadata and controls
146 lines (139 loc) · 5.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/* Copyright© 2000 - 2021 SuperMap Software Co.Ltd. All rights reserved.
* This program are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/
import { Logo } from './control';
import { Util, decryptSources } from './core';
import {
GraphThemeLayer,
LabelThemeLayer,
MapvLayer,
FGBLayer,
VideoLayer,
RangeTheme3DLayer,
RangeThemeLayer,
RankSymbolThemeLayer,
UniqueTheme3DLayer,
UniqueThemeLayer,
GraphicLayer,
ThreeLayer,
HeatMapLayer,
DeckglLayer,
GraticuleLayer,
Graphic,
MapvDataSet,
getDefaultVectorTileStyle,
setBackground,
setPaintProperty,
GeoFeatureThemeLayer,
Theme3DLayer,
ThemeFeature,
ThemeLayer,
GraphMap,
WebSymbol,
L7Layer
} from './overlay';
import {
AddressMatchService,
ChartService,
DataFlowService,
DatasetService,
DatasourceService,
FeatureService,
FieldService,
GridCellInfosService,
GeoprocessingService,
LayerInfoService,
MapService,
MeasureService,
NetworkAnalystService,
NetworkAnalyst3DService,
ProcessingService,
QueryService,
ServiceBase,
SpatialAnalystService,
ThemeService,
TrafficTransferAnalystService,
WebPrintingJobService,
ImageService,
ImageCollectionService,
KnowledgeGraphService
} from './services';
import {
CommonUtil,
SuperMap,
Transform,
ChartView
} from '@supermapgis/iclient-common/namespace';
import { createWebMapV2BaseExtending } from '@supermapgis/iclient-common/mapping/WebMapV2Base';
import { WebMapService } from '@supermapgis/iclient-common/mapping/WebMapService';
import { SourceListModelV2 } from '@supermapgis/iclient-common/mapping/utils/SourceListModelV2';
import { WebMap, initMap, VideoMap } from './mapping';
import mapboxgl from 'mapbox-gl';
mapboxgl.supermap = {...SuperMap, ...mapboxgl.supermap};
mapboxgl.supermap.map = mapboxgl.supermap.map || {};
mapboxgl.supermap.LogoControl = Logo;
mapboxgl.supermap.Logo = Logo;
mapboxgl.supermap.Util = Util;
mapboxgl.supermap.decryptSources = decryptSources;
mapboxgl.supermap.WebMap = WebMap;
mapboxgl.supermap.createWebMapV2BaseExtending = createWebMapV2BaseExtending;
mapboxgl.supermap.WebMapService = WebMapService;
mapboxgl.supermap.SourceListModelV2 = SourceListModelV2;
mapboxgl.supermap.VideoMap = VideoMap;
mapboxgl.supermap.initMap = initMap;
mapboxgl.supermap.Graphic = Graphic;
mapboxgl.supermap.map.getDefaultVectorTileStyle = getDefaultVectorTileStyle;
mapboxgl.supermap.map.setBackground = setBackground;
mapboxgl.supermap.map.setPaintProperty = setPaintProperty;
mapboxgl.supermap.MapvDataSet = MapvDataSet;
mapboxgl.supermap.GeoFeatureThemeLayer = GeoFeatureThemeLayer;
mapboxgl.supermap.Theme3DLayer = Theme3DLayer;
mapboxgl.supermap.ThemeFeature = ThemeFeature;
mapboxgl.supermap.ThemeLayer = ThemeLayer;
mapboxgl.supermap.Transform = Transform;
mapboxgl.supermap.WebSymbol = WebSymbol;
mapboxgl.supermap.DeckglLayer = DeckglLayer;
mapboxgl.supermap.GraphicLayer = GraphicLayer;
mapboxgl.supermap.GraphThemeLayer = GraphThemeLayer;
mapboxgl.supermap.GraticuleLayer = GraticuleLayer;
mapboxgl.supermap.HeatMapLayer = HeatMapLayer;
mapboxgl.supermap.LabelThemeLayer = LabelThemeLayer;
mapboxgl.supermap.MapvLayer = MapvLayer;
mapboxgl.supermap.FGBLayer = FGBLayer;
mapboxgl.supermap.VideoLayer = VideoLayer;
mapboxgl.supermap.RangeTheme3DLayer = RangeTheme3DLayer;
mapboxgl.supermap.RangeThemeLayer = RangeThemeLayer;
mapboxgl.supermap.RankSymbolThemeLayer = RankSymbolThemeLayer;
mapboxgl.supermap.ThreeLayer = ThreeLayer;
mapboxgl.supermap.UniqueTheme3DLayer = UniqueTheme3DLayer;
mapboxgl.supermap.UniqueThemeLayer = UniqueThemeLayer;
mapboxgl.supermap.GraphMap = GraphMap;
mapboxgl.supermap.L7Layer = L7Layer;
mapboxgl.supermap.AddressMatchService = AddressMatchService;
mapboxgl.supermap.ChartService = ChartService;
mapboxgl.supermap.DataFlowService = DataFlowService;
mapboxgl.supermap.DatasetService = DatasetService;
mapboxgl.supermap.DatasourceService = DatasourceService;
mapboxgl.supermap.FeatureService = FeatureService;
mapboxgl.supermap.FieldService = FieldService;
mapboxgl.supermap.GeoprocessingService = GeoprocessingService;
mapboxgl.supermap.GridCellInfosService = GridCellInfosService;
mapboxgl.supermap.ImageCollectionService = ImageCollectionService;
mapboxgl.supermap.ImageService = ImageService;
mapboxgl.supermap.LayerInfoService = LayerInfoService;
mapboxgl.supermap.MapService = MapService;
mapboxgl.supermap.MeasureService = MeasureService;
mapboxgl.supermap.NetworkAnalyst3DService = NetworkAnalyst3DService;
mapboxgl.supermap.NetworkAnalystService = NetworkAnalystService;
mapboxgl.supermap.ProcessingService = ProcessingService;
mapboxgl.supermap.QueryService = QueryService;
mapboxgl.supermap.ServiceBase = ServiceBase;
mapboxgl.supermap.SpatialAnalystService = SpatialAnalystService;
mapboxgl.supermap.ThemeService = ThemeService;
mapboxgl.supermap.TrafficTransferAnalystService = TrafficTransferAnalystService;
mapboxgl.supermap.WebPrintingJobService = WebPrintingJobService;
mapboxgl.supermap.KnowledgeGraphService = KnowledgeGraphService;
mapboxgl.supermap.Components.ChartView = ChartView;
// 处理命名空间重名
mapboxgl.supermap.CommonUtil = CommonUtil;
export * from './index';