@mapgis/webclient-common 17.0.7 → 17.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -37
- package/dist/es5/webclient-common.min.js +15 -4
- package/dist/webclient-common-es6.min.js +16 -5
- package/documention/AddressServer.html +12 -12
- package/documention/ArcGISFeatureServer.html +10 -10
- package/documention/ArcGISGeometryServer.html +10 -10
- package/documention/ArcGISMapImageLayer.html +10 -10
- package/documention/ArcGISMapImageSubLayer.html +311 -7
- package/documention/ArcGISMapServer.html +414 -10
- package/documention/ArcGISTileLayer.html +121 -13
- package/documention/ArcGISVectorTileLayer.html +7 -7
- package/documention/ArcGISVectorTileServer.html +10 -10
- package/documention/BaseRenderer.html +239 -0
- package/documention/BaseServer.html +11 -11
- package/documention/BaseView.html +458 -3
- package/documention/Basemap.html +3 -3
- package/documention/Callout3D.html +107 -0
- package/documention/Cesium3DTilesCacheLayer.html +149 -177
- package/documention/Cesium3DTilesServer.html +11 -11
- package/documention/Circle.html +110 -7
- package/documention/ClassBreakInfo.html +0 -217
- package/documention/ClassBreakRenderer.html +413 -23
- package/documention/ClusterRenderer.html +247 -7
- package/documention/Config.html +4 -4
- package/documention/Extent.html +118 -15
- package/documention/ExtrudeSymbol3DLayer.html +109 -2
- package/documention/Feature.html +7 -7
- package/documention/FeatureLayer.html +116 -8
- package/documention/FeatureServer.html +27 -27
- package/documention/FeatureSet.html +7 -7
- package/documention/FillSymbol.html +107 -0
- package/documention/FillSymbol3DLayer.html +109 -2
- package/documention/Font.html +4 -4
- package/documention/GeoJSONLayer.html +142 -34
- package/documention/Geometry.html +138 -7
- package/documention/GeometryEngine.html +79 -79
- package/documention/GeometryServer.html +30 -30
- package/documention/GraphicsLayer.html +147 -39
- package/documention/GroupLayer.html +120 -12
- package/documention/HeatmapRenderer.html +107 -0
- package/documention/IGSFeatureLayer.html +25 -25
- package/documention/IGSMapImageLayer.html +46 -46
- package/documention/IGSMapImageSubLayer.html +307 -3
- package/documention/IGSSceneLayer.html +11 -11
- package/documention/IGSSceneSubLayer.html +213 -33
- package/documention/IGSTileLayer.html +126 -19
- package/documention/IGSVectorTileLayer.html +230 -43
- package/documention/IGSVectorTileSubLayer.html +5 -4
- package/documention/IconSymbol3DLayer.html +111 -4
- package/documention/ImageServer.html +11 -11
- package/documention/LabelClass.html +10 -5
- package/documention/LabelSymbol3D.html +2 -2
- package/documention/Layer.html +244 -9
- package/documention/LineCallout3D.html +107 -0
- package/documention/LineString.html +113 -10
- package/documention/LineSymbol.html +107 -0
- package/documention/LineSymbol3D.html +2 -2
- package/documention/LineSymbol3DLayer.html +109 -2
- package/documention/M3DModelCacheLayer.html +133 -79
- package/documention/M3DServer.html +12 -12
- package/documention/Map.html +32 -5
- package/documention/MapGISTextSymbol.html +110 -3
- package/documention/MapImageLayer.html +527 -16
- package/documention/MapServer.html +14 -14
- package/documention/MapView.html +204 -3
- package/documention/MarkerSymbol.html +107 -0
- package/documention/MultiLineString.html +116 -13
- package/documention/MultiPoint.html +113 -10
- package/documention/MultiPolygon.html +112 -9
- package/documention/OGCLayer.html +116 -8
- package/documention/ObjectSymbol3DLayer.html +111 -4
- package/documention/OutStatistic.html +1 -1
- package/documention/OverlayLayer.html +116 -8
- package/documention/PathSymbol3DLayer.html +109 -2
- package/documention/PictureFillSymbol.html +169 -8
- package/documention/PictureMarkerSymbol.html +3 -3
- package/documention/PlotServer.html +10 -10
- package/documention/PoiServer.html +12 -12
- package/documention/Point.html +115 -12
- package/documention/PointSymbol3D.html +3 -3
- package/documention/Polygon.html +117 -14
- package/documention/PolygonSymbol3D.html +2 -2
- package/documention/Projection.html +429 -8
- package/documention/RandomRenderer.html +108 -1
- package/documention/RankRenderer.html +109 -2
- package/documention/ResourceServer.html +150 -150
- package/documention/RootServer.html +12 -12
- package/documention/SceneLayer.html +116 -8
- package/documention/SceneServer.html +16 -16
- package/documention/SceneView.html +10164 -130
- package/documention/SecurityServer.html +12 -12
- package/documention/SimpleFillSymbol.html +110 -3
- package/documention/SimpleLineSymbol.html +3 -3
- package/documention/SimpleMarkerSymbol.html +3 -3
- package/documention/SimpleRenderer.html +116 -9
- package/documention/SizeVariable.html +1 -1
- package/documention/SketchBaseDrawTool.html +181 -3
- package/documention/SketchCircleDrawTool.html +159 -3
- package/documention/SketchEditor.html +2 -2
- package/documention/SketchEditorCesium.html +1 -1
- package/documention/SketchEditorVideo.html +2 -2
- package/documention/SketchEditorVideoBase.html +3 -3
- package/documention/SketchExtentDrawTool.html +159 -3
- package/documention/SketchFreehandPolygonDrawTool.html +159 -3
- package/documention/SketchFreehandPolylineDrawTool.html +159 -3
- package/documention/SketchPointDrawTool.html +159 -3
- package/documention/SketchPolygonDrawTool.html +318 -6
- package/documention/SketchPolylineDrawTool.html +318 -6
- package/documention/SpatialReference.html +1 -1
- package/documention/SubLayer.html +296 -26
- package/documention/Symbol.html +134 -1
- package/documention/Symbol3DLayer.html +107 -0
- package/documention/Symbol3DVerticalOffset.html +107 -0
- package/documention/TerrainCacheLayer.html +133 -165
- package/documention/TerrainServer.html +11 -11
- package/documention/TextSymbol.html +111 -4
- package/documention/TextSymbol3DLayer.html +109 -2
- package/documention/ThemeServer.html +13 -13
- package/documention/TileLayer.html +116 -8
- package/documention/TileServer.html +12 -12
- package/documention/UniqueValueInfo.html +0 -217
- package/documention/UniqueValueRenderer.html +125 -18
- package/documention/UnknownLayer.html +116 -8
- package/documention/VectorTileLayer.html +117 -9
- package/documention/VectorTileServer.html +11 -11
- package/documention/VectorTileSubLayer.html +304 -0
- package/documention/VideoMapView.html +4 -4
- package/documention/WCSServer.html +10 -10
- package/documention/WFSLayer.html +140 -32
- package/documention/WFSServer.html +11 -11
- package/documention/WMSLayer.html +131 -23
- package/documention/WMSServer.html +12 -12
- package/documention/WMSSubLayer.html +218 -7
- package/documention/WMTSLayer.html +126 -18
- package/documention/WMTSServer.html +12 -12
- package/documention/WMTSSubLayer.html +116 -8
- package/documention/WPSServer.html +10 -10
- package/documention/WaterSymbol3DLayer.html +107 -0
- package/documention/WebTileLayer.html +121 -13
- package/documention/WorkFlowServer.html +12 -12
- package/documention/WorkFlowServer600227.html +12 -12
- package/documention/WorkFlowServer600228.html +13 -13
- package/documention/WorkFlowServer600229.html +12 -12
- package/documention/WorkFlowServer600230.html +12 -12
- package/documention/WorkFlowServer600231.html +12 -12
- package/documention/WorkFlowServer600232.html +13 -13
- package/documention/WorkFlowServer600233.html +14 -14
- package/documention/WorkFlowServer600235.html +12 -12
- package/documention/WorkFlowServer600237.html +13 -13
- package/documention/WorkFlowServer600238.html +15 -15
- package/documention/WorkFlowServer600239.html +16 -16
- package/documention/WorkFlowServer600307.html +14 -14
- package/documention/WorkFlowServer600308.html +2 -2
- package/documention/WorkFlowServer600309.html +12 -12
- package/documention/WorkFlowServer600314.html +12 -12
- package/documention/WorkFlowServer600334.html +12 -12
- package/documention/WorkFlowServer600336.html +12 -12
- package/documention/WorkFlowServer600340.html +12 -12
- package/documention/WorkFlowServer600354.html +12 -12
- package/documention/WorkFlowServer600368.html +12 -12
- package/documention/WorkFlowServer600369.html +12 -12
- package/documention/WorkFlowServer600370.html +12 -12
- package/documention/global.html +1024 -1874
- package/documention/index.html +84 -78
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +2 -2
- package/documention/scripts/sideBar.js +16 -2
- package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +5 -1
- package/documention/tutorial-/347/254/246/345/217/267.html +52 -6
- package/documention/tutorial-/350/241/250/350/276/276/345/274/217.html +293 -1
- package/package.json +14 -13
|
@@ -440,6 +440,42 @@
|
|
|
440
440
|
</thead>
|
|
441
441
|
<tbody>
|
|
442
442
|
|
|
443
|
+
<tr class="deep-level-0">
|
|
444
|
+
<td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
|
|
445
|
+
<td class="name">
|
|
446
|
+
<code>
|
|
447
|
+
|
|
448
|
+
<span class="param-type">
|
|
449
|
+
|
|
450
|
+
Object
|
|
451
|
+
|
|
452
|
+
</span>
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
</code>
|
|
457
|
+
</td>
|
|
458
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
459
|
+
</tr>
|
|
460
|
+
|
|
461
|
+
<tr class="deep-level-0">
|
|
462
|
+
<td class="name"><code><a href="#extendProps">extendProps</a></code></td>
|
|
463
|
+
<td class="name">
|
|
464
|
+
<code>
|
|
465
|
+
|
|
466
|
+
<span class="param-type">
|
|
467
|
+
|
|
468
|
+
Object
|
|
469
|
+
|
|
470
|
+
</span>
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
</code>
|
|
475
|
+
</td>
|
|
476
|
+
<td class="name"><code><p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
477
|
+
</tr>
|
|
478
|
+
|
|
443
479
|
<tr class="deep-level-0">
|
|
444
480
|
<td class="name"><code><a href="#id">id</a></code></td>
|
|
445
481
|
<td class="name">
|
|
@@ -526,6 +562,24 @@
|
|
|
526
562
|
<td class="name"><code><p>矢量瓦片子图层专题图渲染样式</p></code></td>
|
|
527
563
|
</tr>
|
|
528
564
|
|
|
565
|
+
<tr class="deep-level-0">
|
|
566
|
+
<td class="name"><code><a href="#spatialReference">spatialReference</a></code></td>
|
|
567
|
+
<td class="name">
|
|
568
|
+
<code>
|
|
569
|
+
|
|
570
|
+
<span class="param-type">
|
|
571
|
+
|
|
572
|
+
<a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
|
|
573
|
+
|
|
574
|
+
</span>
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
</code>
|
|
579
|
+
</td>
|
|
580
|
+
<td class="name"><code><p>子图层空间参考系</p></code></td>
|
|
581
|
+
</tr>
|
|
582
|
+
|
|
529
583
|
<tr class="deep-level-0">
|
|
530
584
|
<td class="name"><code><a href="#sublayers">sublayers</a></code></td>
|
|
531
585
|
<td class="name">
|
|
@@ -627,6 +681,176 @@
|
|
|
627
681
|
<span class="method-parameter is-pulled-right">
|
|
628
682
|
<label>类型:</label>
|
|
629
683
|
|
|
684
|
+
<span class="param-type">
|
|
685
|
+
|
|
686
|
+
Object
|
|
687
|
+
|
|
688
|
+
</span>
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
</span>
|
|
693
|
+
|
|
694
|
+
<h4 class="name" id="extendOptions">
|
|
695
|
+
<a class="href-link" href="#extendOptions">#</a>
|
|
696
|
+
|
|
697
|
+
<span class="code-name">
|
|
698
|
+
extendOptions
|
|
699
|
+
</span>
|
|
700
|
+
|
|
701
|
+
</h4>
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
<div class="description">
|
|
707
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
708
|
+
</div>
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
<dl class="details">
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
722
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
723
|
+
<a goto="extendOptions" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendOptions" SubLayer.html#extendOptions>SubLayer#extendOptions</a>
|
|
724
|
+
</li></ul></dd>
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
<dt class="tag-default">Default Value:</dt>
|
|
745
|
+
<dd class="tag-default"><ul class="dummy">
|
|
746
|
+
<li>{}</li>
|
|
747
|
+
</ul></dd>
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
</dl>
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
</div>
|
|
763
|
+
|
|
764
|
+
<div class="member">
|
|
765
|
+
|
|
766
|
+
<span class="method-parameter is-pulled-right">
|
|
767
|
+
<label>类型:</label>
|
|
768
|
+
|
|
769
|
+
<span class="param-type">
|
|
770
|
+
|
|
771
|
+
Object
|
|
772
|
+
|
|
773
|
+
</span>
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
</span>
|
|
778
|
+
|
|
779
|
+
<h4 class="name" id="extendProps">
|
|
780
|
+
<a class="href-link" href="#extendProps">#</a>
|
|
781
|
+
|
|
782
|
+
<span class="code-name">
|
|
783
|
+
extendProps
|
|
784
|
+
</span>
|
|
785
|
+
|
|
786
|
+
</h4>
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
<div class="description">
|
|
792
|
+
<p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
793
|
+
</div>
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
<dl class="details">
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
807
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
808
|
+
<a goto="extendProps" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendProps" SubLayer.html#extendProps>SubLayer#extendProps</a>
|
|
809
|
+
</li></ul></dd>
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
<dt class="tag-default">Default Value:</dt>
|
|
830
|
+
<dd class="tag-default"><ul class="dummy">
|
|
831
|
+
<li>{}</li>
|
|
832
|
+
</ul></dd>
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
</dl>
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
</div>
|
|
848
|
+
|
|
849
|
+
<div class="member">
|
|
850
|
+
|
|
851
|
+
<span class="method-parameter is-pulled-right">
|
|
852
|
+
<label>类型:</label>
|
|
853
|
+
|
|
630
854
|
<span class="param-type">
|
|
631
855
|
|
|
632
856
|
String
|
|
@@ -927,6 +1151,86 @@
|
|
|
927
1151
|
|
|
928
1152
|
|
|
929
1153
|
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
</dl>
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
|
|
1171
|
+
</div>
|
|
1172
|
+
|
|
1173
|
+
<div class="member">
|
|
1174
|
+
|
|
1175
|
+
<span class="method-parameter is-pulled-right">
|
|
1176
|
+
<label>类型:</label>
|
|
1177
|
+
|
|
1178
|
+
<span class="param-type">
|
|
1179
|
+
|
|
1180
|
+
<a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
|
|
1181
|
+
|
|
1182
|
+
</span>
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
</span>
|
|
1187
|
+
|
|
1188
|
+
<h4 class="name" id="spatialReference">
|
|
1189
|
+
<a class="href-link" href="#spatialReference">#</a>
|
|
1190
|
+
|
|
1191
|
+
<span class="code-name">
|
|
1192
|
+
spatialReference
|
|
1193
|
+
</span>
|
|
1194
|
+
|
|
1195
|
+
</h4>
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
<div class="description">
|
|
1201
|
+
<p>子图层空间参考系</p>
|
|
1202
|
+
</div>
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
<dl class="details">
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
1216
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1217
|
+
<a goto="spatialReference" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#spatialReference" SubLayer.html#spatialReference>SubLayer#spatialReference</a>
|
|
1218
|
+
</li></ul></dd>
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
|
|
930
1234
|
|
|
931
1235
|
|
|
932
1236
|
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
|
|
267
267
|
|
|
268
268
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
269
|
-
const { Map, VideoMapView } =
|
|
269
|
+
const { Map, VideoMapView } = zondy
|
|
270
270
|
// ES6引入方式
|
|
271
271
|
import { Map, VideoMapView } from "@mapgis/webclient-common"
|
|
272
272
|
// 新建一个map容器
|
|
@@ -684,7 +684,7 @@ videoMapView.init(data)</code></pre>
|
|
|
684
684
|
|
|
685
685
|
|
|
686
686
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
687
|
-
const { Point } =
|
|
687
|
+
const { Point } = zondy.geometry
|
|
688
688
|
// ES6引入方式
|
|
689
689
|
import { Point } from "@mapgis/webclient-common"
|
|
690
690
|
const pixelCoord = videoMapView.geoCoordToPixelCoord(new Point({ coordinates: [longitude, latitude] }))</code></pre>
|
|
@@ -864,7 +864,7 @@ const pixelCoord = videoMapView.geoCoordToPixelCoord(new Point({ coordinates: [l
|
|
|
864
864
|
|
|
865
865
|
|
|
866
866
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
867
|
-
const { Map, VideoMapView } =
|
|
867
|
+
const { Map, VideoMapView } = zondy
|
|
868
868
|
// ES6引入方式
|
|
869
869
|
import { Map, VideoMapView } from "@mapgis/webclient-common"
|
|
870
870
|
// 新建一个map容器
|
|
@@ -1092,7 +1092,7 @@ videoMapView.init(mockData)</code></pre>
|
|
|
1092
1092
|
|
|
1093
1093
|
|
|
1094
1094
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1095
|
-
const { Point } =
|
|
1095
|
+
const { Point } = zondy.geometry
|
|
1096
1096
|
// ES6引入方式
|
|
1097
1097
|
import { Point } from "@mapgis/webclient-common"
|
|
1098
1098
|
const geoCoord = videoMapView.pixelCoordToGeoCoord(new Point({ coordinates: [0, 0] }))</code></pre>
|
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
|
|
599
599
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
600
600
|
// ES5引入方式
|
|
601
|
-
const { BaseServer } =
|
|
601
|
+
const { BaseServer } = zondy.service
|
|
602
602
|
// ES6引入方式
|
|
603
603
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
604
604
|
let BaseServer = new BaseServer({
|
|
@@ -699,7 +699,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
699
699
|
|
|
700
700
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
701
701
|
// ES5引入方式
|
|
702
|
-
const { BaseServer } =
|
|
702
|
+
const { BaseServer } = zondy.service
|
|
703
703
|
// ES6引入方式
|
|
704
704
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
705
705
|
let BaseServer = new BaseServer({
|
|
@@ -801,7 +801,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
801
801
|
|
|
802
802
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
803
803
|
// ES5引入方式
|
|
804
|
-
const { BaseServer,RequestInterceptor } =
|
|
804
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
805
805
|
// ES6引入方式
|
|
806
806
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
807
807
|
let BaseServer = new BaseServer({
|
|
@@ -910,7 +910,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
910
910
|
<pre class="prettyprint"><code>//设置超时时间
|
|
911
911
|
//初始化AddressServer服务对象
|
|
912
912
|
// ES5引入方式
|
|
913
|
-
const { BaseServer } =
|
|
913
|
+
const { BaseServer } = zondy.service
|
|
914
914
|
// ES6引入方式
|
|
915
915
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
916
916
|
let BaseServer = new BaseServer({
|
|
@@ -1007,7 +1007,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1007
1007
|
|
|
1008
1008
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1009
1009
|
// ES5引入方式
|
|
1010
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1010
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1011
1011
|
// ES6引入方式
|
|
1012
1012
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1013
1013
|
let BaseServer = new BaseServer({
|
|
@@ -1117,8 +1117,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1117
1117
|
|
|
1118
1118
|
<pre class="prettyprint"><code>//设置token值
|
|
1119
1119
|
// ES5引入方式
|
|
1120
|
-
const { BaseServer } =
|
|
1121
|
-
const { TokenAttachType } =
|
|
1120
|
+
const { BaseServer } = zondy.service
|
|
1121
|
+
const { TokenAttachType } = zondy.enum
|
|
1122
1122
|
// ES6引入方式
|
|
1123
1123
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1124
1124
|
let BaseServer = new BaseServer({
|
|
@@ -1219,7 +1219,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1219
1219
|
|
|
1220
1220
|
<pre class="prettyprint"><code>//设置token名
|
|
1221
1221
|
// ES5引入方式
|
|
1222
|
-
const { BaseServer } =
|
|
1222
|
+
const { BaseServer } = zondy.service
|
|
1223
1223
|
// ES6引入方式
|
|
1224
1224
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1225
1225
|
let BaseServer = new BaseServer({
|
|
@@ -1316,7 +1316,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1316
1316
|
|
|
1317
1317
|
<pre class="prettyprint"><code>//设置token值
|
|
1318
1318
|
// ES5引入方式
|
|
1319
|
-
const { BaseServer } =
|
|
1319
|
+
const { BaseServer } = zondy.service
|
|
1320
1320
|
// ES6引入方式
|
|
1321
1321
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1322
1322
|
let BaseServer = new BaseServer({
|
|
@@ -1413,7 +1413,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1413
1413
|
|
|
1414
1414
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1415
1415
|
// ES5引入方式
|
|
1416
|
-
const { BaseServer } =
|
|
1416
|
+
const { BaseServer } = zondy.service
|
|
1417
1417
|
// ES6引入方式
|
|
1418
1418
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1419
1419
|
let BaseServer = new BaseServer({
|