Skip to content

Commit 6c5aab1

Browse files
committed
【 update 】 L 端 L.supermap.components.xxx 变更为 L.supermap.Components.xxx
1 parent db2f5da commit 6c5aab1

3 files changed

Lines changed: 25 additions & 20 deletions

File tree

src/leaflet/namespace.js

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ import {
445445
rankSymbolThemeLayer,
446446
TileVectorLayer,
447447
tiledVectorLayer,
448+
tileVectorLayer,
448449
TurfLayer,
449450
turfLayer,
450451
UnicodeMarker,
@@ -573,6 +574,7 @@ import L from 'leaflet';
573574

574575
L.supermap = L.supermap || {};
575576
L.supermap.components = L.supermap.components || {};
577+
L.supermap.Components = L.supermap.Components || {};
576578
L.supermap.control = L.supermap.control || {};
577579

578580
// ./core
@@ -598,8 +600,8 @@ L.supermap.Util.transform = transform;
598600
L.Proj = L.Proj || {};
599601
L.supermap.Proj = L.supermap.Proj || {};
600602
L.Proj.CRS = crs;
601-
L.supermap.Proj.CRS = CRS;
602603
L.supermap.Proj.crs = crs;
604+
L.supermap.Proj.CRS = CRS;
603605
// core/NonEarthCRS
604606
L.Projection = {};
605607
L.supermap.Projection = L.supermap.Projection || {};
@@ -626,37 +628,39 @@ L.supermap.CRS.Baidu = BaiduCRS;
626628
L.supermap.CommontypesConversion = CommontypesConversion;
627629
// components
628630
L.supermap.components.clientComputationLayer = clientComputationLayer;
629-
L.supermap.components.ClientComputationLayer = ClientComputationLayer;
631+
L.supermap.Components.ClientComputationLayer = ClientComputationLayer;
630632
L.supermap.components.clientComputation = clientComputationView;
631-
L.supermap.components.ClientComputation = ClientComputationView;
633+
L.supermap.Components.ClientComputation = ClientComputationView;
632634
L.supermap.components.clientComputationViewModel = clientComputationViewModel;
633-
L.supermap.components.ClientComputationViewModel = ClientComputationViewModel;
634-
L.supermap.components.GeoJsonLayersDataModel = GeoJsonLayersDataModel;
635+
L.supermap.Components.ClientComputationViewModel = ClientComputationViewModel;
635636
L.supermap.components.geoJSONLayerWithName = geoJSONLayerWithName;
637+
L.supermap.Components.GeoJsonLayersDataModel = GeoJsonLayersDataModel;
636638
L.supermap.components.GeoJSONLayerWithName = GeoJSONLayerWithName;
639+
L.supermap.Components.GeoJSONLayerWithName = GeoJSONLayerWithName;
637640
L.supermap.components.dataFlow = dataFlowView;
638-
L.supermap.components.DataFlow = DataFlowView;
641+
L.supermap.Components.DataFlow = DataFlowView;
639642
L.supermap.components.dataFlowViewModel = dataFlowViewModel;
640-
L.supermap.components.DataFlowViewModel = DataFlowViewModel;
643+
L.supermap.Components.DataFlowViewModel = DataFlowViewModel;
641644
L.supermap.components.dataServiceQuery = dataServiceQueryView;
642-
L.supermap.components.DataServiceQuery = DataServiceQueryView;
645+
L.supermap.Components.DataServiceQuery = DataServiceQueryView;
643646
L.supermap.components.dataServiceQueryViewModel = dataServiceQueryViewModel;
644-
L.supermap.components.DataServiceQueryViewModel = DataServiceQueryViewModel;
647+
L.supermap.Components.DataServiceQueryViewModel = DataServiceQueryViewModel;
645648
L.supermap.components.DistributedAnalysisModel = DistributedAnalysisModel;
649+
L.supermap.Components.DistributedAnalysisModel = DistributedAnalysisModel;
646650
L.supermap.components.distributedAnalysis = distributedAnalysisView;
647-
L.supermap.components.DistributedAnalysis = DistributedAnalysisView;
651+
L.supermap.Components.DistributedAnalysis = DistributedAnalysisView;
648652
L.supermap.components.distributedAnalysisViewModel = distributedAnalysisViewModel;
649-
L.supermap.components.DistributedAnalysisViewModel = DistributedAnalysisViewModel;
653+
L.supermap.Components.DistributedAnalysisViewModel = DistributedAnalysisViewModel;
650654
L.supermap.components.openFile = openFileView;
651-
L.supermap.components.OpenFile = OpenFileView;
655+
L.supermap.Components.OpenFile = OpenFileView;
652656
L.supermap.components.openFileViewModel = openFileViewModel;
653-
L.supermap.components.OpenFileViewModel = OpenFileViewModel;
657+
L.supermap.Components.OpenFileViewModel = OpenFileViewModel;
654658
L.supermap.components.search = searchView;
655-
L.supermap.components.Search = SearchView;
659+
L.supermap.Components.Search = SearchView;
656660
L.supermap.components.searchViewModel = searchViewModel;
657-
L.supermap.components.SearchViewModel = SearchViewModel;
661+
L.supermap.Components.SearchViewModel = SearchViewModel;
658662
L.supermap.components.componentsViewBase = componentsViewBase;
659-
L.supermap.components.ComponentsViewBase = ComponentsViewBase;
663+
L.supermap.Components.ComponentsViewBase = ComponentsViewBase;
660664
// control
661665
L.supermap.control.changeTileVersion = changeTileVersion;
662666
L.supermap.control.ChangeTileVersion = ChangeTileVersion;
@@ -716,6 +720,7 @@ L.supermap.RangeThemeLayer = RangeThemeLayer;
716720
L.supermap.rankSymbolThemeLayer = rankSymbolThemeLayer;
717721
L.supermap.RankSymbolThemeLayer = RankSymbolThemeLayer;
718722
L.supermap.tiledVectorLayer = tiledVectorLayer;
723+
L.supermap.tileVectorLayer = tileVectorLayer;
719724
L.supermap.TileVectorLayer = TileVectorLayer;
720725
L.supermap.turfLayer = turfLayer;
721726
L.supermap.TurfLayer = TurfLayer;
@@ -811,7 +816,6 @@ L.supermap.Geometry.Point = GeometryPoint;
811816
L.supermap.Geometry.Polygon = Polygon;
812817
L.supermap.Geometry.Rectangle = Rectangle;
813818
// Components
814-
L.supermap.Components = L.supermap.Components || {};
815819
L.supermap.Components.Chart = Chart;
816820
L.supermap.Components.ChartViewModel = ChartViewModel;
817821
L.supermap.Components.MessageBox = MessageBox;
@@ -1253,6 +1257,7 @@ export {
12531257
rankSymbolThemeLayer,
12541258
TileVectorLayer,
12551259
tiledVectorLayer,
1260+
tileVectorLayer,
12561261
TurfLayer,
12571262
turfLayer,
12581263
UnicodeMarker,

src/leaflet/overlay/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {LabelThemeLayer, labelThemeLayer} from './LabelThemeLayer';
99
import {MapVLayer, mapVLayer} from './MapVLayer';
1010
import {RangeThemeLayer, rangeThemeLayer} from './RangeThemeLayer';
1111
import {RankSymbolThemeLayer, rankSymbolThemeLayer} from './RankSymbolThemeLayer';
12-
import {TileVectorLayer, tiledVectorLayer} from './TileVectorLayer';
12+
import {TileVectorLayer, tiledVectorLayer, tiledVectorLayer as tileVectorLayer } from './TileVectorLayer';
1313
import {TurfLayer, turfLayer} from './TurfLayer';
1414
import {UnicodeMarker, unicodeMarker} from './UnicodeMarker';
1515
import {UniqueThemeLayer, uniqueThemeLayer} from './UniqueThemeLayer';
@@ -52,7 +52,7 @@ export {LabelThemeLayer, labelThemeLayer};
5252
export {MapVLayer, mapVLayer};
5353
export {RangeThemeLayer, rangeThemeLayer};
5454
export {RankSymbolThemeLayer, rankSymbolThemeLayer};
55-
export {TileVectorLayer, tiledVectorLayer};
55+
export {TileVectorLayer, tiledVectorLayer, tileVectorLayer};
5656
export {TurfLayer, turfLayer};
5757
export {UnicodeMarker, unicodeMarker};
5858
export {UniqueThemeLayer, uniqueThemeLayer};

src/mapboxgl/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export {
206206
SurfaceAnalystParametersSetting,
207207
TerrainCurvatureCalculationParameters,
208208
Theme,
209-
Theme as CommonTheme,
209+
CommonTheme,
210210
ThemeDotDensity,
211211
ThemeFlow,
212212
ThemeGraduatedSymbol,

0 commit comments

Comments
 (0)