@mapgis/webclient-common 17.4.0 → 17.4.8
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 +74 -0
- package/dist/es5/webclient-common.min.js +37 -5
- package/dist/webclient-common-es6.min.js +38 -6
- package/documention/AddressServer.html +2 -2
- package/documention/ArcGISFeatureServer.html +2 -2
- package/documention/ArcGISGeometryServer.html +2 -2
- package/documention/ArcGISMapImageLayer.html +611 -2
- package/documention/ArcGISMapImageSubLayer.html +6 -6
- package/documention/ArcGISMapServer.html +2 -2
- package/documention/ArcGISTileLayer.html +4 -4
- package/documention/ArcGISVectorTileLayer.html +2 -2
- package/documention/ArcGISVectorTileServer.html +2 -2
- package/documention/BaseRegExp.html +1541 -0
- package/documention/BaseRenderer.html +2 -2
- package/documention/BaseScene.html +2 -2
- package/documention/BaseServer.html +2 -2
- package/documention/BaseView.html +306 -80
- package/documention/Basemap.html +2 -2
- package/documention/Callout3D.html +2 -2
- package/documention/Cesium3DTilesCacheLayer.html +4 -4
- package/documention/Cesium3DTilesServer.html +2 -2
- package/documention/CheckUtil.html +2 -2
- package/documention/Circle.html +2 -2
- package/documention/ClassBreakClusterInfo.html +2 -2
- package/documention/ClassBreakInfo.html +2 -2
- package/documention/ClassBreakRenderer.html +2 -2
- package/documention/ClusterRenderer.html +2 -2
- package/documention/Collection.html +2 -2
- package/documention/CollectionFlattener.html +2 -2
- package/documention/Color.html +2 -2
- package/documention/ColorMaterial.html +2 -2
- package/documention/ColorStop.html +2 -2
- package/documention/ColorVariable.html +2 -2
- package/documention/Config.html +2 -2
- package/documention/CursorChangeEventInfo.html +2 -2
- package/documention/EchartsLayer.html +2 -2
- package/documention/Edges3D.html +2 -2
- package/documention/ElevationInfo.html +2 -2
- package/documention/Evented.html +2 -2
- package/documention/Extent.html +2 -2
- package/documention/ExtrudeSymbol3DLayer.html +2 -2
- package/documention/Feature.html +2 -2
- package/documention/FeatureExpressionInfo.html +2 -2
- package/documention/FeatureFilter.html +2 -2
- package/documention/FeatureLayer.html +4 -4
- package/documention/FeatureServer.html +2 -2
- package/documention/FeatureSet.html +3 -3
- package/documention/FillSymbol.html +2 -2
- package/documention/FillSymbol3DLayer.html +2 -2
- package/documention/FillSymbol3DOutline.html +2 -2
- package/documention/Font.html +2 -2
- package/documention/GeoJSONLayer.html +6 -3
- package/documention/Geometry.html +2 -2
- package/documention/GeometryEngine.html +2 -2
- package/documention/GeometryFilter.html +2 -2
- package/documention/GeometryServer.html +2 -2
- package/documention/GraphicsLayer.html +2 -2
- package/documention/GroupLayer.html +4 -4
- package/documention/HeatmapColorStop.html +2 -2
- package/documention/HeatmapRenderer.html +2 -2
- package/documention/IGSFeatureLayer.html +206 -3
- package/documention/IGSImageryLayer.html +2598 -0
- package/documention/IGSImageryTileLayer.html +1878 -0
- package/documention/IGSMapImageLayer.html +2 -2
- package/documention/IGSMapImageSubLayer.html +2 -2
- package/documention/IGSSceneLayer.html +2 -2
- package/documention/IGSSceneSubLayer.html +2 -2
- package/documention/IGSTileLayer.html +4 -4
- package/documention/IGSVectorTileLayer.html +2 -2
- package/documention/IGSVectorTileSubLayer.html +2 -2
- package/documention/ISScene.html +2 -2
- package/documention/ISSceneLayer.html +2 -2
- package/documention/ISSceneServer.html +2 -2
- package/documention/ISSceneSubLayer.html +2 -2
- package/documention/IconResource.html +2 -2
- package/documention/IconSymbol3DLayer.html +2 -2
- package/documention/ImageServer.html +2 -2
- package/documention/ImageryLayer.html +8238 -0
- package/documention/ImageryTileLayer.html +7569 -0
- package/documention/Interceptor.html +2 -2
- package/documention/LOD.html +2 -2
- package/documention/LabelClass.html +3 -3
- package/documention/LabelSymbol3D.html +2 -2
- package/documention/Layer.html +6 -6
- package/documention/LayerBaseUrlRegExp.html +1322 -0
- package/documention/LayerEvent.html +2 -2
- package/documention/LayerViewUpdateEvent.html +2 -2
- package/documention/LineCallout3D.html +2 -2
- package/documention/LineString.html +2 -2
- package/documention/LineStyleMarker3D.html +2 -2
- package/documention/LineStylePattern3D.html +2 -2
- package/documention/LineSymbol.html +2 -2
- package/documention/LineSymbol3D.html +2 -2
- package/documention/LineSymbol3DLayer.html +2 -2
- package/documention/LineSymbolMarker.html +2 -2
- package/documention/Log.html +2 -2
- package/documention/M3DModelCacheLayer.html +4 -4
- package/documention/M3DServer.html +2 -2
- package/documention/Map.html +4 -4
- package/documention/MapGISTextSymbol.html +2 -2
- package/documention/MapImageLayer.html +6 -6
- package/documention/MapServer.html +2 -2
- package/documention/MapVLayer.html +2 -2
- package/documention/MapView.html +316 -85
- package/documention/MarkerSymbol.html +2 -2
- package/documention/ModelCacheLayer.html +2 -2
- package/documention/MoveEventInfo.html +2 -2
- package/documention/MultiLineString.html +2 -2
- package/documention/MultiPoint.html +2 -2
- package/documention/MultiPolygon.html +2 -2
- package/documention/OGCLayer.html +4 -4
- package/documention/ObjectSymbol3DLayer.html +2 -2
- package/documention/OpacityStop.html +2 -2
- package/documention/OpacityVariable.html +2 -2
- package/documention/OutStatistic.html +2 -2
- package/documention/OverlayLayer.html +4 -4
- package/documention/PathSymbol3DLayer.html +2 -2
- package/documention/PictureFillSymbol.html +2 -2
- package/documention/PictureMarkerSymbol.html +2 -2
- package/documention/PlotServer.html +2 -2
- package/documention/PoiServer.html +2 -2
- package/documention/Point.html +2 -2
- package/documention/PointSymbol3D.html +2 -2
- package/documention/PointSymbol3DOutline.html +2 -2
- package/documention/Polygon.html +2 -2
- package/documention/PolygonSymbol3D.html +2 -2
- package/documention/ProjectInfo.html +2 -2
- package/documention/ProjectInfoBySrsID.html +2 -2
- package/documention/Projection.html +2 -2
- package/documention/RandomRenderer.html +2 -2
- package/documention/RankRenderer.html +2 -2
- package/documention/RasterFunction.html +1593 -0
- package/documention/RasterInfo.html +2047 -0
- package/documention/RendererInfo.html +2 -2
- package/documention/RequestConfig.html +2 -2
- package/documention/RequestInterceptor.html +2 -2
- package/documention/RequestStructure.html +833 -0
- package/documention/ResourceServer.html +2 -2
- package/documention/ResponseInterceptor.html +2 -2
- package/documention/RootServer.html +2 -2
- package/documention/S3MTilesCacheLayer.html +4 -4
- package/documention/ScaleEventInfo.html +2 -2
- package/documention/Scene.html +2 -2
- package/documention/SceneLayer.html +4 -4
- package/documention/SceneServer.html +2 -2
- package/documention/SceneView.html +316 -85
- package/documention/SecurityServer.html +2 -2
- package/documention/ServerBaseUrlRegExp.html +932 -0
- package/documention/ServerUtil.html +2299 -0
- package/documention/SimpleFillSymbol.html +2 -2
- package/documention/SimpleLineSymbol.html +2 -2
- package/documention/SimpleMarkerSymbol.html +2 -2
- package/documention/SimpleRenderer.html +2 -2
- package/documention/SizeStop.html +2 -2
- package/documention/SizeVariable.html +2 -2
- package/documention/SketchBaseDrawTool.html +3 -3
- package/documention/SketchCircleDrawTool.html +3 -3
- package/documention/SketchEditor.html +3 -3
- package/documention/SketchEditor3D.html +7476 -0
- package/documention/SketchEditorCesium.html +1287 -719
- package/documention/SketchEditorEvent.html +2 -2
- package/documention/SketchEditorToolEventInfo.html +2 -2
- package/documention/SketchExtentDrawTool.html +3 -3
- package/documention/SketchFreehandPolygonDrawTool.html +3 -3
- package/documention/SketchFreehandPolylineDrawTool.html +3 -3
- package/documention/SketchPointDrawTool.html +3 -3
- package/documention/SketchPolygonDrawTool.html +4 -4
- package/documention/SketchPolylineDrawTool.html +4 -4
- package/documention/SketchStage.html +2 -2
- package/documention/SketchStyle.html +2 -2
- package/documention/SketchTopologyTool.html +2 -2
- package/documention/SpatialReference.html +2 -2
- package/documention/StylePattern3D.html +2 -2
- package/documention/SubLayer.html +2 -2
- package/documention/Symbol.html +2 -2
- package/documention/Symbol3D.html +2 -2
- package/documention/Symbol3DLayer.html +2 -2
- package/documention/Symbol3DVerticalOffset.html +2 -2
- package/documention/TerrainCacheLayer.html +4 -4
- package/documention/TerrainServer.html +2 -2
- package/documention/TextHalo.html +2 -2
- package/documention/TextSymbol.html +2 -2
- package/documention/TextSymbol3DLayer.html +2 -2
- package/documention/ThemeServer.html +2 -2
- package/documention/TileInfo.html +2 -2
- package/documention/TileLayer.html +4 -4
- package/documention/TileMatrixSet.html +2 -2
- package/documention/TileServer.html +2 -2
- package/documention/TimeExtent.html +2 -2
- package/documention/TimeInfo.html +2 -2
- package/documention/TimeInterval.html +2 -2
- package/documention/UniqueValueClusterInfo.html +2 -2
- package/documention/UniqueValueInfo.html +2 -2
- package/documention/UniqueValueRenderer.html +2 -2
- package/documention/UnknownLayer.html +4 -4
- package/documention/UpdateContent.html +2 -2
- package/documention/UrlUtil.html +575 -0
- package/documention/VectorTileGroupSubLayer.html +2 -2
- package/documention/VectorTileLayer.html +4 -4
- package/documention/VectorTileServer.html +2 -2
- package/documention/VectorTileSubLayer.html +2 -2
- package/documention/VertexChangeEventInfo.html +2 -2
- package/documention/VisualVariable.html +2 -2
- package/documention/VoxelFilter.html +2 -2
- package/documention/WCSServer.html +2 -2
- package/documention/WFSLayer.html +4 -4
- package/documention/WFSServer.html +2 -2
- package/documention/WMSLayer.html +4 -4
- package/documention/WMSServer.html +2 -2
- package/documention/WMSSubLayer.html +2 -2
- package/documention/WMTSLayer.html +2 -2
- package/documention/WMTSServer.html +2 -2
- package/documention/WMTSStyle.html +2 -2
- package/documention/WMTSSubLayer.html +4 -4
- package/documention/WPSServer.html +2 -2
- package/documention/WaterSymbol3DLayer.html +2 -2
- package/documention/WebTileLayer.html +4 -4
- package/documention/WorkFlowServer.html +2 -2
- package/documention/WorkFlowServer600227.html +2 -2
- package/documention/WorkFlowServer600228.html +2 -2
- package/documention/WorkFlowServer600229.html +2 -2
- package/documention/WorkFlowServer600230.html +2 -2
- package/documention/WorkFlowServer600231.html +2 -2
- package/documention/WorkFlowServer600232.html +2 -2
- package/documention/WorkFlowServer600233.html +2 -2
- package/documention/WorkFlowServer600235.html +2 -2
- package/documention/WorkFlowServer600237.html +2 -2
- package/documention/WorkFlowServer600238.html +134 -37
- package/documention/WorkFlowServer600239.html +133 -42
- package/documention/WorkFlowServer600307.html +4 -4
- package/documention/WorkFlowServer600308.html +3 -3
- package/documention/WorkFlowServer600309.html +2 -2
- package/documention/WorkFlowServer600314.html +2 -2
- package/documention/WorkFlowServer600334.html +2 -2
- package/documention/WorkFlowServer600336.html +2 -2
- package/documention/WorkFlowServer600340.html +2 -2
- package/documention/WorkFlowServer600354.html +2 -2
- package/documention/WorkFlowServer600368.html +2 -2
- package/documention/WorkFlowServer600369.html +2 -2
- package/documention/WorkFlowServer600370.html +2 -2
- package/documention/Zondy.Object.CAttDataRow.html +2 -2
- package/documention/Zondy.Object.CAttStruct.html +2 -2
- package/documention/global.html +272 -209
- package/documention/index.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.html +29 -29
- package/documention/module.exports.html +2 -2
- package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +1 -1
- package/documention/tutorial-/347/254/246/345/217/267.html +725 -722
- package/package.json +1 -1
|
@@ -352,7 +352,7 @@ import { Map } from "@mapgis/webclient-common" <br/></p></span></li></
|
|
|
352
352
|
是一个始终朝向屏幕,并且立起来的图标<br/>
|
|
353
353
|
示例如下:<br/>
|
|
354
354
|
<a href='#IconSymbol3DLayer-href'>[1、使用网络资源创建一个三维图标图层对象]</a><br/>
|
|
355
|
-
<a href='#IconSymbol3DLayer-primitive'>[2、使用系统自带资源创建一个三维图标图层对象]</a><br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LabelClass"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LabelClass.html">LabelClass</a><span style="display: none;"><p
|
|
355
|
+
<a href='#IconSymbol3DLayer-primitive'>[2、使用系统自带资源创建一个三维图标图层对象]</a><br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LabelClass"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LabelClass.html">LabelClass</a><span style="display: none;"><p>注记样式(目前仅支持三维SceneView上要素图层、GeoJSON、wfs等图层动态注记),参考示例:<a href='#new-LabelClass'>[创建注记样式对象]</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LabelSymbol3D"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LabelSymbol3D.html">LabelSymbol3D</a><span style="display: none;"><p>三维注记符号,用于在三维场景中渲染线几何要素,不支持在二维视图中使用;<br/>
|
|
356
356
|
三维注记符号必须包含如下符号图层中的一个或多个,才能在三维场景中显示要素:<br/>
|
|
357
357
|
<a href="TextSymbol3DLayer.html"><code>三维文字符号图层</code></a><br/>
|
|
358
358
|
示例如下:<br/>
|
|
@@ -467,7 +467,7 @@ zondy.SpatialReference() <br/>
|
|
|
467
467
|
import { SpatialReference } from "@mapgis/webclient-common" <br/>
|
|
468
468
|
<br/></p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">基础对象模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Collection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Collection.html">Collection</a><span style="display: none;"><p>集合类用来存储相同类型的项的数组,提供了大量的实用方法来处理集合中的元素,包括filter()、find()和reduce()等。<br>
|
|
469
469
|
集合中的元素可以是任何类型。例如,GraphicsLayer.graphics是存储在GraphicsLayer中的图形的集合。您可以使用Collection类中的方法来添加、删除、重新排序或操作GraphicsLayer中的图形。<br>
|
|
470
|
-
集合的另一个示例是Map.layers,它是所有地图的集合。</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ElevationInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ElevationInfo.html">ElevationInfo</a><span style="display: none;"><p>高程模式参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Evented"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Evented.html">Evented</a><span style="display: none;"><p>事件基类,所有可接收或者发送的对象继承于此</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="UpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="UpdateContent.html">UpdateContent</a><span style="display: none;"><p>更新内容对象</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CursorChangeEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CursorChangeEventInfo.html">CursorChangeEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MoveEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MoveEventInfo.html">MoveEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ScaleEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ScaleEventInfo.html">ScaleEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchBaseDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchBaseDrawTool.html">SketchBaseDrawTool</a><span style="display: none;"><p>草图基础绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchCircleDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchCircleDrawTool.html">SketchCircleDrawTool</a><span style="display: none;"><p>圆绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>草图编辑基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="
|
|
470
|
+
集合的另一个示例是Map.layers,它是所有地图的集合。</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ElevationInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ElevationInfo.html">ElevationInfo</a><span style="display: none;"><p>高程模式参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Evented"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Evented.html">Evented</a><span style="display: none;"><p>事件基类,所有可接收或者发送的对象继承于此</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="UpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="UpdateContent.html">UpdateContent</a><span style="display: none;"><p>更新内容对象</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CursorChangeEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CursorChangeEventInfo.html">CursorChangeEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MoveEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MoveEventInfo.html">MoveEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ScaleEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ScaleEventInfo.html">ScaleEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchBaseDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchBaseDrawTool.html">SketchBaseDrawTool</a><span style="display: none;"><p>草图基础绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchCircleDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchCircleDrawTool.html">SketchCircleDrawTool</a><span style="display: none;"><p>圆绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>草图编辑基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor3D"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor3D.html">SketchEditor3D</a><span style="display: none;"><p>三维场景草图编辑类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditorToolEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditorToolEventInfo.html">SketchEditorToolEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchExtentDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchExtentDrawTool.html">SketchExtentDrawTool</a><span style="display: none;"><p>矩形绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchFreehandPolygonDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchFreehandPolygonDrawTool.html">SketchFreehandPolygonDrawTool</a><span style="display: none;"><p>手绘区绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchFreehandPolylineDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchFreehandPolylineDrawTool.html">SketchFreehandPolylineDrawTool</a><span style="display: none;"><p>手绘线绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchPointDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchPointDrawTool.html">SketchPointDrawTool</a><span style="display: none;"><p>点绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchPolygonDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchPolygonDrawTool.html">SketchPolygonDrawTool</a><span style="display: none;"><p>区绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchPolylineDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchPolylineDrawTool.html">SketchPolylineDrawTool</a><span style="display: none;"><p>线绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchStage"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchStage.html">SketchStage</a><span style="display: none;"><p>草图图形集合</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchStyle"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchStyle.html">SketchStyle</a><span style="display: none;"><p>草图样式管理类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchTopologyTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchTopologyTool.html">SketchTopologyTool</a><span style="display: none;"><p>草图拓扑分析类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VertexChangeEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VertexChangeEventInfo.html">VertexChangeEventInfo</a><span style="display: none;">undefined</span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">要素模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Feature"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Feature.html">Feature</a><span style="display: none;"><p>要素对象,示例如下:<a id='add-Feature'>[初始化要素对象]</a>
|
|
471
471
|
<br><br>[ES5引入方式]:<br/>
|
|
472
472
|
zondy.Feature() <br/>
|
|
473
473
|
[ES6引入方式]:<br/>
|
|
@@ -352,7 +352,7 @@ import { Map } from "@mapgis/webclient-common" <br/></p></span></li></
|
|
|
352
352
|
是一个始终朝向屏幕,并且立起来的图标<br/>
|
|
353
353
|
示例如下:<br/>
|
|
354
354
|
<a href='#IconSymbol3DLayer-href'>[1、使用网络资源创建一个三维图标图层对象]</a><br/>
|
|
355
|
-
<a href='#IconSymbol3DLayer-primitive'>[2、使用系统自带资源创建一个三维图标图层对象]</a><br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LabelClass"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LabelClass.html">LabelClass</a><span style="display: none;"><p
|
|
355
|
+
<a href='#IconSymbol3DLayer-primitive'>[2、使用系统自带资源创建一个三维图标图层对象]</a><br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LabelClass"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LabelClass.html">LabelClass</a><span style="display: none;"><p>注记样式(目前仅支持三维SceneView上要素图层、GeoJSON、wfs等图层动态注记),参考示例:<a href='#new-LabelClass'>[创建注记样式对象]</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LabelSymbol3D"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LabelSymbol3D.html">LabelSymbol3D</a><span style="display: none;"><p>三维注记符号,用于在三维场景中渲染线几何要素,不支持在二维视图中使用;<br/>
|
|
356
356
|
三维注记符号必须包含如下符号图层中的一个或多个,才能在三维场景中显示要素:<br/>
|
|
357
357
|
<a href="TextSymbol3DLayer.html"><code>三维文字符号图层</code></a><br/>
|
|
358
358
|
示例如下:<br/>
|
|
@@ -467,7 +467,7 @@ zondy.SpatialReference() <br/>
|
|
|
467
467
|
import { SpatialReference } from "@mapgis/webclient-common" <br/>
|
|
468
468
|
<br/></p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">基础对象模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Collection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Collection.html">Collection</a><span style="display: none;"><p>集合类用来存储相同类型的项的数组,提供了大量的实用方法来处理集合中的元素,包括filter()、find()和reduce()等。<br>
|
|
469
469
|
集合中的元素可以是任何类型。例如,GraphicsLayer.graphics是存储在GraphicsLayer中的图形的集合。您可以使用Collection类中的方法来添加、删除、重新排序或操作GraphicsLayer中的图形。<br>
|
|
470
|
-
集合的另一个示例是Map.layers,它是所有地图的集合。</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ElevationInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ElevationInfo.html">ElevationInfo</a><span style="display: none;"><p>高程模式参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Evented"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Evented.html">Evented</a><span style="display: none;"><p>事件基类,所有可接收或者发送的对象继承于此</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="UpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="UpdateContent.html">UpdateContent</a><span style="display: none;"><p>更新内容对象</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CursorChangeEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CursorChangeEventInfo.html">CursorChangeEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MoveEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MoveEventInfo.html">MoveEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ScaleEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ScaleEventInfo.html">ScaleEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchBaseDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchBaseDrawTool.html">SketchBaseDrawTool</a><span style="display: none;"><p>草图基础绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchCircleDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchCircleDrawTool.html">SketchCircleDrawTool</a><span style="display: none;"><p>圆绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>草图编辑基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="
|
|
470
|
+
集合的另一个示例是Map.layers,它是所有地图的集合。</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ElevationInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ElevationInfo.html">ElevationInfo</a><span style="display: none;"><p>高程模式参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Evented"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Evented.html">Evented</a><span style="display: none;"><p>事件基类,所有可接收或者发送的对象继承于此</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="UpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="UpdateContent.html">UpdateContent</a><span style="display: none;"><p>更新内容对象</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CursorChangeEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CursorChangeEventInfo.html">CursorChangeEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MoveEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MoveEventInfo.html">MoveEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ScaleEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ScaleEventInfo.html">ScaleEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchBaseDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchBaseDrawTool.html">SketchBaseDrawTool</a><span style="display: none;"><p>草图基础绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchCircleDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchCircleDrawTool.html">SketchCircleDrawTool</a><span style="display: none;"><p>圆绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>草图编辑基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor3D"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor3D.html">SketchEditor3D</a><span style="display: none;"><p>三维场景草图编辑类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditorToolEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditorToolEventInfo.html">SketchEditorToolEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchExtentDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchExtentDrawTool.html">SketchExtentDrawTool</a><span style="display: none;"><p>矩形绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchFreehandPolygonDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchFreehandPolygonDrawTool.html">SketchFreehandPolygonDrawTool</a><span style="display: none;"><p>手绘区绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchFreehandPolylineDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchFreehandPolylineDrawTool.html">SketchFreehandPolylineDrawTool</a><span style="display: none;"><p>手绘线绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchPointDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchPointDrawTool.html">SketchPointDrawTool</a><span style="display: none;"><p>点绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchPolygonDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchPolygonDrawTool.html">SketchPolygonDrawTool</a><span style="display: none;"><p>区绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchPolylineDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchPolylineDrawTool.html">SketchPolylineDrawTool</a><span style="display: none;"><p>线绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchStage"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchStage.html">SketchStage</a><span style="display: none;"><p>草图图形集合</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchStyle"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchStyle.html">SketchStyle</a><span style="display: none;"><p>草图样式管理类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchTopologyTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchTopologyTool.html">SketchTopologyTool</a><span style="display: none;"><p>草图拓扑分析类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VertexChangeEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VertexChangeEventInfo.html">VertexChangeEventInfo</a><span style="display: none;">undefined</span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">要素模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Feature"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Feature.html">Feature</a><span style="display: none;"><p>要素对象,示例如下:<a id='add-Feature'>[初始化要素对象]</a>
|
|
471
471
|
<br><br>[ES5引入方式]:<br/>
|
|
472
472
|
zondy.Feature() <br/>
|
|
473
473
|
[ES6引入方式]:<br/>
|
|
@@ -352,7 +352,7 @@ import { Map } from "@mapgis/webclient-common" <br/></p></span></li></
|
|
|
352
352
|
是一个始终朝向屏幕,并且立起来的图标<br/>
|
|
353
353
|
示例如下:<br/>
|
|
354
354
|
<a href='#IconSymbol3DLayer-href'>[1、使用网络资源创建一个三维图标图层对象]</a><br/>
|
|
355
|
-
<a href='#IconSymbol3DLayer-primitive'>[2、使用系统自带资源创建一个三维图标图层对象]</a><br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LabelClass"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LabelClass.html">LabelClass</a><span style="display: none;"><p
|
|
355
|
+
<a href='#IconSymbol3DLayer-primitive'>[2、使用系统自带资源创建一个三维图标图层对象]</a><br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LabelClass"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LabelClass.html">LabelClass</a><span style="display: none;"><p>注记样式(目前仅支持三维SceneView上要素图层、GeoJSON、wfs等图层动态注记),参考示例:<a href='#new-LabelClass'>[创建注记样式对象]</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LabelSymbol3D"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LabelSymbol3D.html">LabelSymbol3D</a><span style="display: none;"><p>三维注记符号,用于在三维场景中渲染线几何要素,不支持在二维视图中使用;<br/>
|
|
356
356
|
三维注记符号必须包含如下符号图层中的一个或多个,才能在三维场景中显示要素:<br/>
|
|
357
357
|
<a href="TextSymbol3DLayer.html"><code>三维文字符号图层</code></a><br/>
|
|
358
358
|
示例如下:<br/>
|
|
@@ -467,7 +467,7 @@ zondy.SpatialReference() <br/>
|
|
|
467
467
|
import { SpatialReference } from "@mapgis/webclient-common" <br/>
|
|
468
468
|
<br/></p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">基础对象模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Collection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Collection.html">Collection</a><span style="display: none;"><p>集合类用来存储相同类型的项的数组,提供了大量的实用方法来处理集合中的元素,包括filter()、find()和reduce()等。<br>
|
|
469
469
|
集合中的元素可以是任何类型。例如,GraphicsLayer.graphics是存储在GraphicsLayer中的图形的集合。您可以使用Collection类中的方法来添加、删除、重新排序或操作GraphicsLayer中的图形。<br>
|
|
470
|
-
集合的另一个示例是Map.layers,它是所有地图的集合。</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ElevationInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ElevationInfo.html">ElevationInfo</a><span style="display: none;"><p>高程模式参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Evented"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Evented.html">Evented</a><span style="display: none;"><p>事件基类,所有可接收或者发送的对象继承于此</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="UpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="UpdateContent.html">UpdateContent</a><span style="display: none;"><p>更新内容对象</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CursorChangeEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CursorChangeEventInfo.html">CursorChangeEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MoveEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MoveEventInfo.html">MoveEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ScaleEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ScaleEventInfo.html">ScaleEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchBaseDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchBaseDrawTool.html">SketchBaseDrawTool</a><span style="display: none;"><p>草图基础绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchCircleDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchCircleDrawTool.html">SketchCircleDrawTool</a><span style="display: none;"><p>圆绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>草图编辑基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="
|
|
470
|
+
集合的另一个示例是Map.layers,它是所有地图的集合。</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ElevationInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ElevationInfo.html">ElevationInfo</a><span style="display: none;"><p>高程模式参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Evented"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Evented.html">Evented</a><span style="display: none;"><p>事件基类,所有可接收或者发送的对象继承于此</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="UpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="UpdateContent.html">UpdateContent</a><span style="display: none;"><p>更新内容对象</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CursorChangeEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CursorChangeEventInfo.html">CursorChangeEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MoveEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MoveEventInfo.html">MoveEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ScaleEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ScaleEventInfo.html">ScaleEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchBaseDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchBaseDrawTool.html">SketchBaseDrawTool</a><span style="display: none;"><p>草图基础绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchCircleDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchCircleDrawTool.html">SketchCircleDrawTool</a><span style="display: none;"><p>圆绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>草图编辑基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor3D"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor3D.html">SketchEditor3D</a><span style="display: none;"><p>三维场景草图编辑类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditorToolEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditorToolEventInfo.html">SketchEditorToolEventInfo</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchExtentDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchExtentDrawTool.html">SketchExtentDrawTool</a><span style="display: none;"><p>矩形绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchFreehandPolygonDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchFreehandPolygonDrawTool.html">SketchFreehandPolygonDrawTool</a><span style="display: none;"><p>手绘区绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchFreehandPolylineDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchFreehandPolylineDrawTool.html">SketchFreehandPolylineDrawTool</a><span style="display: none;"><p>手绘线绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchPointDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchPointDrawTool.html">SketchPointDrawTool</a><span style="display: none;"><p>点绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchPolygonDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchPolygonDrawTool.html">SketchPolygonDrawTool</a><span style="display: none;"><p>区绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchPolylineDrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchPolylineDrawTool.html">SketchPolylineDrawTool</a><span style="display: none;"><p>线绘图工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchStage"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchStage.html">SketchStage</a><span style="display: none;"><p>草图图形集合</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchStyle"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchStyle.html">SketchStyle</a><span style="display: none;"><p>草图样式管理类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchTopologyTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchTopologyTool.html">SketchTopologyTool</a><span style="display: none;"><p>草图拓扑分析类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VertexChangeEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VertexChangeEventInfo.html">VertexChangeEventInfo</a><span style="display: none;">undefined</span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">要素模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Feature"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Feature.html">Feature</a><span style="display: none;"><p>要素对象,示例如下:<a id='add-Feature'>[初始化要素对象]</a>
|
|
471
471
|
<br><br>[ES5引入方式]:<br/>
|
|
472
472
|
zondy.Feature() <br/>
|
|
473
473
|
[ES6引入方式]:<br/>
|
|
@@ -793,6 +793,28 @@ import { FeatureSet } from "@mapgis/webclient-common" <br/>
|
|
|
793
793
|
|
|
794
794
|
|
|
795
795
|
|
|
796
|
+
|
|
797
|
+
<tr class="deep-level-1">
|
|
798
|
+
|
|
799
|
+
<td class="name"><code>resultName</code></td>
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
<td class="type">
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
<span class="param-type">String</span>
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
</td>
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
<td class="description last"><p>结果简单要素类的URL,例如GDBP://mapgislocal/Sample/sfcls/多边形缓冲结果7</p></td>
|
|
814
|
+
</tr>
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
796
818
|
|
|
797
819
|
|
|
798
820
|
|
|
@@ -867,46 +889,51 @@ import { FeatureSet } from "@mapgis/webclient-common" <br/>
|
|
|
867
889
|
|
|
868
890
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
869
891
|
const { WorkFlowServer } = zondy.server
|
|
870
|
-
const { CAttStruct, CAttDataRow } = zondy
|
|
892
|
+
const { CAttStruct, CAttDataRow } = zondy
|
|
871
893
|
const { Polygon } = zondy.geometry
|
|
872
894
|
const { FetchMethod } = zondy.enum
|
|
873
895
|
// ES6引入方式
|
|
874
896
|
import { WorkFlowServer, CAttStruct, CAttDataRow, FetchMethod, Polygon } from "@mapgis/webclient-common"
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
const
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
[
|
|
893
|
-
|
|
897
|
+
const attStrct1 = new CAttStruct({
|
|
898
|
+
FldName: ["ID", "面积", "周长", "LayerID"],
|
|
899
|
+
FldNumber: 4,
|
|
900
|
+
FldType: ["FldLong", "FldDouble", "FldDouble", "FldLong"],
|
|
901
|
+
});
|
|
902
|
+
|
|
903
|
+
const attStrct = new CAttStruct({
|
|
904
|
+
FldName: ["ID", "面积", "周长", "LayerID"],
|
|
905
|
+
FldNumber: 4,
|
|
906
|
+
FldType: ["FldLong", "FldDouble", "FldDouble", "FldLong"],
|
|
907
|
+
});
|
|
908
|
+
const valuesRow = new CAttDataRow([0, 62.566714, 50.803211, 0], 1);
|
|
909
|
+
const workFlowServer600238 = WorkFlowServer.createWorkFlow({
|
|
910
|
+
url: "http://localhost:8089/igs/rest/services/workflow/600238/WorkflowServer",
|
|
911
|
+
geometrys: [
|
|
912
|
+
new zondy.geometry.Polygon({
|
|
913
|
+
coordinates: [
|
|
914
|
+
[
|
|
915
|
+
[11.2203627335275, 532.624659163762],
|
|
916
|
+
[2732.66363429598, 532.624659163762],
|
|
917
|
+
[2933.75550165281, -1310.71745827386],
|
|
918
|
+
[-266.956720443423, -1927.39918483481],
|
|
919
|
+
[-1259.00993273713, -747.660229674732],
|
|
920
|
+
[11.2203627335275, 532.624659163762],
|
|
921
|
+
],
|
|
894
922
|
],
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
}
|
|
909
|
-
});</code></pre>
|
|
923
|
+
}),
|
|
924
|
+
],
|
|
925
|
+
attStrct: attStrct,
|
|
926
|
+
attRows: [valuesRow],
|
|
927
|
+
traceRadius: 0.0001,
|
|
928
|
+
isMultiFeatureOpr: true,
|
|
929
|
+
inFormat: "JSON",
|
|
930
|
+
});
|
|
931
|
+
workFlowServer600238.execute({
|
|
932
|
+
method: zondy.enum.FetchMethod.get,
|
|
933
|
+
success: function (res) {
|
|
934
|
+
console.log("execute: ", res);
|
|
935
|
+
},
|
|
936
|
+
});</code></pre>
|
|
910
937
|
|
|
911
938
|
|
|
912
939
|
|
|
@@ -2295,6 +2322,76 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2295
2322
|
|
|
2296
2323
|
|
|
2297
2324
|
|
|
2325
|
+
</div>
|
|
2326
|
+
|
|
2327
|
+
<div class="member">
|
|
2328
|
+
|
|
2329
|
+
<span class="method-parameter is-pulled-right">
|
|
2330
|
+
<label>类型:</label>
|
|
2331
|
+
|
|
2332
|
+
<span class="param-type">String</span>
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
</span>
|
|
2336
|
+
|
|
2337
|
+
<h4 class="name" id="resultName">
|
|
2338
|
+
<a class="href-link" href="#resultName">#</a>
|
|
2339
|
+
|
|
2340
|
+
<span class="code-name">
|
|
2341
|
+
resultName
|
|
2342
|
+
</span>
|
|
2343
|
+
|
|
2344
|
+
</h4>
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
|
|
2348
|
+
|
|
2349
|
+
<div class="description">
|
|
2350
|
+
<p>结果简单要素类的URL,例如GDBP://mapgislocal/Sample/sfcls/多边形缓冲结果7</p>
|
|
2351
|
+
</div>
|
|
2352
|
+
|
|
2353
|
+
|
|
2354
|
+
|
|
2355
|
+
|
|
2356
|
+
|
|
2357
|
+
<dl class="details">
|
|
2358
|
+
|
|
2359
|
+
|
|
2360
|
+
|
|
2361
|
+
|
|
2362
|
+
|
|
2363
|
+
|
|
2364
|
+
|
|
2365
|
+
|
|
2366
|
+
|
|
2367
|
+
|
|
2368
|
+
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
|
|
2372
|
+
|
|
2373
|
+
|
|
2374
|
+
|
|
2375
|
+
|
|
2376
|
+
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
|
|
2380
|
+
|
|
2381
|
+
|
|
2382
|
+
|
|
2383
|
+
|
|
2384
|
+
|
|
2385
|
+
|
|
2386
|
+
|
|
2387
|
+
|
|
2388
|
+
|
|
2389
|
+
</dl>
|
|
2390
|
+
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
|
|
2298
2395
|
</div>
|
|
2299
2396
|
|
|
2300
2397
|
<div class="member">
|