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
134 lines (127 loc) · 4.5 KB
/
namespace.js
File metadata and controls
134 lines (127 loc) · 4.5 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
/* 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 } from './core';
import {
GraphThemeLayer,
LabelThemeLayer,
MapvLayer,
FGBLayer,
RangeTheme3DLayer,
RangeThemeLayer,
RankSymbolThemeLayer,
UniqueTheme3DLayer,
UniqueThemeLayer,
GraphicLayer,
ThreeLayer,
HeatMapLayer,
DeckglLayer,
GraticuleLayer,
Graphic,
MapvDataSet,
getDefaultVectorTileStyle,
setBackground,
setPaintProperty,
GeoFeatureThemeLayer,
Theme3DLayer,
ThemeFeature,
ThemeLayer,
GraphMap,
WebSymbol
} 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 '@supermap/iclient-common/namespace';
import { WebMap, initMap } 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.WebMap = WebMap;
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.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.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';