@mapgis/webclient-common 17.6.21 → 17.6.23
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 +16 -0
- package/dist/es5/webclient-common.min.js +8 -8
- package/dist/webclient-common-es6.min.js +8 -8
- package/documention/AddressServer.html +1 -1
- package/documention/AnchorType.html +1 -1
- package/documention/AngleUnit.html +1 -1
- package/documention/ArcGISFeatureServer.html +1 -1
- package/documention/ArcGISGeometryServer.html +1 -1
- package/documention/ArcGISMapImageLayer.html +1 -1
- package/documention/ArcGISMapImageSubLayer.html +188 -1
- package/documention/ArcGISMapServer.html +1 -1
- package/documention/ArcGISTileLayer.html +1 -1
- package/documention/ArcGISVectorTileLayer.html +1 -1
- package/documention/ArcGISVectorTileServer.html +1 -1
- package/documention/ArcGISVectorTileSubLayer.html +1 -1
- package/documention/ArcType.html +1 -1
- package/documention/AreaUnits.html +1 -1
- package/documention/BaseRegExp.html +1 -1
- package/documention/BaseRenderer.html +1 -1
- package/documention/BaseScene.html +1 -1
- package/documention/BaseServer.html +1 -1
- package/documention/BaseSwipeTool.html +1 -1
- package/documention/BaseView.html +1 -1
- package/documention/Basemap.html +1 -1
- package/documention/Callout3D.html +1 -1
- package/documention/Cesium3DTilesCacheLayer.html +1 -1
- package/documention/Cesium3DTilesServer.html +1 -1
- package/documention/CheckUtil.html +1 -1
- package/documention/Circle.html +1 -1
- package/documention/ClassBreakClusterInfo.html +1 -1
- package/documention/ClassBreakInfo.html +1 -1
- package/documention/ClassBreakRenderer.html +1 -1
- package/documention/ClusterRenderer.html +1 -1
- package/documention/Collection.html +1 -1
- package/documention/CollectionFlattener.html +1 -1
- package/documention/Color.html +1 -1
- package/documention/ColorMaterial.html +1 -1
- package/documention/ColorNameToHexMap.html +1 -1
- package/documention/ColorStop.html +1 -1
- package/documention/ColorVariable.html +1 -1
- package/documention/Config.html +1 -1
- package/documention/Corporation.html +1 -1
- package/documention/CursorChangeEventInfo.html +1 -1
- package/documention/CustomWKID.html +1 -1
- package/documention/EchartsLayer.html +1 -1
- package/documention/Edges3D.html +1 -1
- package/documention/ElevationInfo.html +1 -1
- package/documention/ElevationMode.html +1 -1
- package/documention/EngineType.html +1 -1
- package/documention/Event.html +1 -1
- package/documention/Evented.html +27 -3
- package/documention/Extent.html +1 -1
- package/documention/ExtrudeSymbol3DLayer.html +1 -1
- package/documention/Feature.html +1 -1
- package/documention/FeatureExpressionInfo.html +1 -1
- package/documention/FeatureFilter.html +1 -1
- package/documention/FeatureLayer.html +1 -6
- package/documention/FeatureServer.html +1 -1
- package/documention/FeatureSet.html +1 -1
- package/documention/FetchMethod.html +1 -1
- package/documention/FillSymbol.html +1 -1
- package/documention/FillSymbol3DLayer.html +1 -1
- package/documention/FillSymbol3DOutline.html +1 -1
- package/documention/Font.html +1 -1
- package/documention/GeoJSONLayer.html +11 -2
- package/documention/Geometry.html +1 -1
- package/documention/GeometryEngine.html +1 -1
- package/documention/GeometryFilter.html +1 -1
- package/documention/GeometryServer.html +1 -1
- package/documention/GeometryType.html +1 -1
- package/documention/GraphicsLayer.html +1 -1
- package/documention/GroupLayer.html +1 -1
- package/documention/HTMLMarkerSymbol.html +1 -1
- package/documention/HeatmapColorStop.html +1 -1
- package/documention/HeatmapRenderer.html +1 -1
- package/documention/HorizontalAlignment.html +1 -1
- package/documention/IGSFeatureLayer.html +1 -4
- package/documention/IGSGeometryType.html +1 -1
- package/documention/IGSImageryLayer.html +1 -1
- package/documention/IGSImageryTileLayer.html +1 -1
- package/documention/IGSMapImageLayer.html +1 -1
- package/documention/IGSMapImageSubLayer.html +1 -1
- package/documention/IGSScene.html +1 -1
- package/documention/IGSSceneLabelSubLayer.html +1 -1
- package/documention/IGSSceneLayer.html +1 -1
- package/documention/IGSSceneMapRefSubLayer.html +1 -1
- package/documention/IGSSceneModelCacheSubLayer.html +1 -1
- package/documention/IGSSceneOriginLayerType.html +1 -1
- package/documention/IGSSceneSubLayer.html +1 -1
- package/documention/IGSSceneTerrainSubLayer.html +1 -1
- package/documention/IGSSymbolType.html +1 -1
- package/documention/IGSTileLayer.html +1 -1
- package/documention/IGSVectorTileLayer.html +1 -1
- package/documention/IGSVectorTileSubLayer.html +1 -1
- package/documention/ISScene.html +1 -1
- package/documention/ISSceneLayer.html +1 -1
- package/documention/ISSceneModelCacheSubLayer.html +1 -1
- package/documention/ISSceneServer.html +1 -1
- package/documention/ISSceneSubLayer.html +1 -1
- package/documention/IconResource.html +1 -1
- package/documention/IconSymbol3DLayer.html +1 -1
- package/documention/ImageServer.html +1 -1
- package/documention/ImageryLayer.html +1 -1
- package/documention/ImageryTileLayer.html +1 -1
- package/documention/Interceptor.html +1 -1
- package/documention/LOD.html +1 -1
- package/documention/LabelClass.html +1 -1
- package/documention/LabelSymbol3D.html +1 -1
- package/documention/Layer.html +1 -1
- package/documention/LayerBaseUrlRegExp.html +1 -1
- package/documention/LayerDef.html +1 -1
- package/documention/LayerEvent.html +1 -1
- package/documention/LayerEventType.html +1 -1
- package/documention/LayerType.html +1 -1
- package/documention/LayerViewScaleVisibleEvent.html +1 -1
- package/documention/LayerViewUpdateContent.html +1 -1
- package/documention/LayerViewUpdateEvent.html +1 -1
- package/documention/LengthUnit.html +1 -1
- package/documention/LineCallout3D.html +1 -1
- package/documention/LineCapType.html +1 -1
- package/documention/LineJoinType.html +1 -1
- package/documention/LineMarkerPlacement.html +1 -1
- package/documention/LineMarkerStyle.html +1 -1
- package/documention/LinePatternStyle.html +1 -1
- package/documention/LineString.html +1 -1
- package/documention/LineStyleMarker3D.html +1 -1
- package/documention/LineStylePattern3D.html +1 -1
- package/documention/LineSymbol.html +1 -1
- package/documention/LineSymbol3D.html +1 -1
- package/documention/LineSymbol3DLayer.html +1 -1
- package/documention/LineSymbolMarker.html +1 -1
- package/documention/LinearUnits.html +1 -1
- package/documention/LoadStatus.html +1 -1
- package/documention/Log.html +1 -1
- package/documention/LogType.html +1 -1
- package/documention/M3DModelCacheLayer.html +1 -1
- package/documention/M3DServer.html +1 -1
- package/documention/Map.html +1 -1
- package/documention/MapEventType.html +1 -1
- package/documention/MapGISTextSymbol.html +1 -1
- package/documention/MapImageLayer.html +1 -1
- package/documention/MapServer.html +1 -1
- package/documention/MapVLayer.html +1 -1
- package/documention/MapView.html +1 -1
- package/documention/MarkerSymbol.html +1 -1
- package/documention/MaterialType.html +1 -1
- package/documention/ModelCacheLayer.html +1 -1
- package/documention/MoveEventInfo.html +1 -1
- package/documention/MultiLineString.html +1 -1
- package/documention/MultiPoint.html +1 -1
- package/documention/MultiPolygon.html +1 -1
- package/documention/NormalizationType.html +1 -1
- package/documention/OGCLayer.html +1 -1
- package/documention/ObjectSymbol3DLayer.html +1 -1
- package/documention/OpacityStop.html +1 -1
- package/documention/OpacityVariable.html +1 -1
- package/documention/OutStatistic.html +1 -1
- package/documention/OutStatisticType.html +1 -1
- package/documention/OverlayLayer.html +1 -1
- package/documention/PathSymbol3DLayer.html +1 -1
- package/documention/PatternStyle.html +1 -1
- package/documention/PictureFillSymbol.html +1 -1
- package/documention/PictureFormat.html +1 -1
- package/documention/PictureMarkerSymbol.html +1 -1
- package/documention/PlotServer.html +1 -1
- package/documention/PoiServer.html +1 -1
- package/documention/Point.html +1 -1
- package/documention/PointSymbol3D.html +1 -1
- package/documention/PointSymbol3DOutline.html +1 -1
- package/documention/Polygon.html +1 -1
- package/documention/PolygonSymbol3D.html +1 -1
- package/documention/ProfileType.html +1 -1
- package/documention/ProjectInfo.html +1 -1
- package/documention/ProjectInfoBySrsID.html +1 -1
- package/documention/Projection.html +1 -1
- package/documention/QueryFeaturesData.html +1 -1
- package/documention/QueryFeaturesInLayersData.html +1 -1
- package/documention/QueryFeaturesInLayersOptions.html +27 -1
- package/documention/QueryFeaturesResult.html +1 -1
- package/documention/QueryFeauresOptions.html +27 -1
- package/documention/RadiusUnit.html +1 -1
- package/documention/RandomRenderer.html +1 -1
- package/documention/RankRenderer.html +1 -1
- package/documention/RasterFunction.html +1 -1
- package/documention/RasterInfo.html +1 -1
- package/documention/RasterInterpolationType.html +1 -1
- package/documention/RendererCollection.html +1 -1
- package/documention/RendererInfo.html +1 -1
- package/documention/RendererType.html +1 -1
- package/documention/RequestConfig.html +1 -1
- package/documention/RequestInterceptor.html +1 -1
- package/documention/RequestStructure.html +1 -1
- package/documention/ResourceServer.html +1 -1
- package/documention/ResponseInterceptor.html +1 -1
- package/documention/ReturnFormat.html +1 -1
- package/documention/RootServer.html +1 -1
- package/documention/S3MTilesCacheLayer.html +1 -1
- package/documention/ScaleEventInfo.html +1 -1
- package/documention/SceneLayer.html +1 -1
- package/documention/SceneMode.html +1 -1
- package/documention/SceneServer.html +1 -1
- package/documention/SceneView.html +1 -1
- package/documention/SecurityServer.html +1 -1
- package/documention/ServerBaseUrlRegExp.html +1 -1
- package/documention/ServerUtil.html +1 -1
- package/documention/SeverVectorTileSubLayerType.html +1 -1
- package/documention/ShadowMode.html +1 -1
- package/documention/SimpleFillSymbol.html +1 -1
- package/documention/SimpleLineSymbol.html +1 -1
- package/documention/SimpleMarkerSymbol.html +1 -1
- package/documention/SimpleRenderer.html +1 -1
- package/documention/SizeStop.html +1 -1
- package/documention/SizeVariable.html +1 -1
- package/documention/SketchBaseDrawTool.html +4 -4
- package/documention/SketchCircleDrawTool.html +4 -4
- package/documention/SketchDataType.html +1 -1
- package/documention/SketchEditMode.html +1 -1
- package/documention/SketchEditor.html +4 -4
- package/documention/SketchEditor3D.html +4 -4
- package/documention/SketchEditorEvent.html +1 -1
- package/documention/SketchEditorEventType.html +1 -1
- package/documention/SketchEditorState.html +1 -1
- package/documention/SketchEditorToolEventInfo.html +82 -1
- package/documention/SketchEditorToolEventType.html +82 -1
- package/documention/SketchExtentDrawTool.html +4 -4
- package/documention/SketchFreehandPolygonDrawTool.html +3 -3
- package/documention/SketchFreehandPolylineDrawTool.html +2 -2
- package/documention/SketchPointDrawTool.html +4 -4
- package/documention/SketchPolygonDrawTool.html +5 -5
- package/documention/SketchPolylineDrawTool.html +5 -5
- package/documention/SketchStage.html +1 -1
- package/documention/SketchStyle.html +105 -13
- package/documention/SketchTopologyTool.html +1 -1
- package/documention/SpatialReference.html +1 -1
- package/documention/SpatialRelation.html +1 -1
- package/documention/StatisticType.html +1 -1
- package/documention/StylePattern3D.html +1 -1
- package/documention/SubLayer.html +1 -1
- package/documention/SubLayerType.html +1 -1
- package/documention/SwipeMode.html +1 -1
- package/documention/Symbol.html +1 -1
- package/documention/Symbol3D.html +1 -1
- package/documention/Symbol3DLayer.html +1 -1
- package/documention/Symbol3DLayerType.html +1 -1
- package/documention/Symbol3DVerticalOffset.html +1 -1
- package/documention/SymbolType.html +1 -1
- package/documention/TDTLayerType.html +1 -1
- package/documention/TemporalUnit.html +1 -1
- package/documention/TerrainCacheLayer.html +1 -1
- package/documention/TerrainServer.html +1 -1
- package/documention/TextHalo.html +1 -1
- package/documention/TextSymbol.html +1 -1
- package/documention/TextSymbol3DLayer.html +1 -1
- package/documention/ThemeServer.html +1 -1
- package/documention/TileDisplayMode.html +1 -1
- package/documention/TileInfo.html +1 -1
- package/documention/TileLayer.html +1 -1
- package/documention/TileMatrixSet.html +1 -1
- package/documention/TileServer.html +1 -1
- package/documention/TileSliceType.html +1 -1
- package/documention/TimeExtent.html +1 -1
- package/documention/TimeInfo.html +1 -1
- package/documention/TimeInterval.html +1 -1
- package/documention/TokenAttachType.html +1 -1
- package/documention/UniqueValueClusterInfo.html +1 -1
- package/documention/UniqueValueInfo.html +1 -1
- package/documention/UniqueValueRenderer.html +1 -1
- package/documention/UnknownLayer.html +1 -1
- package/documention/UpdateContent.html +1 -1
- package/documention/UrlServerType.html +1 -1
- package/documention/UrlUtil.html +1 -1
- package/documention/VectorTileGeometryType.html +1 -1
- package/documention/VectorTileLayer.html +1 -1
- package/documention/VectorTileServer.html +1 -1
- package/documention/VectorTileSubLayer.html +1 -1
- package/documention/VertexAddEventInfo.html +823 -0
- package/documention/VertexChangeEventInfo.html +1 -1
- package/documention/VertexMoveEventInfo.html +802 -0
- package/documention/VertexRemoveEventInfo.html +823 -0
- package/documention/VertexSelectEventInfo.html +919 -0
- package/documention/VerticalAlignment.html +1 -1
- package/documention/VideoSourceType.html +1 -1
- package/documention/ViewEventType.html +1 -1
- package/documention/VisualVariable.html +1 -1
- package/documention/VisualVariableType.html +1 -1
- package/documention/VoxelFilter.html +1 -1
- package/documention/WCSServer.html +1 -1
- package/documention/WFSLayer.html +7 -1
- package/documention/WFSServer.html +1 -1
- package/documention/WMSLayer.html +1 -1
- package/documention/WMSServer.html +1 -1
- package/documention/WMSSubLayer.html +1 -1
- package/documention/WMTSCorporation.html +1 -1
- package/documention/WMTSLayer.html +1 -1
- package/documention/WMTSServer.html +1 -1
- package/documention/WMTSStyle.html +1 -1
- package/documention/WMTSSubLayer.html +1 -1
- package/documention/WPSServer.html +1 -1
- package/documention/WaterSymbol3DLayer.html +1 -1
- package/documention/WaterbodySize.html +1 -1
- package/documention/WaveStrength.html +1 -1
- package/documention/WebTileLayer.html +1 -1
- package/documention/WorkFlowServer.html +1 -1
- package/documention/WorkFlowServer600227.html +1 -1
- package/documention/WorkFlowServer600228.html +1 -1
- package/documention/WorkFlowServer600229.html +1 -1
- package/documention/WorkFlowServer600230.html +1 -1
- package/documention/WorkFlowServer600231.html +1 -1
- package/documention/WorkFlowServer600232.html +1 -1
- package/documention/WorkFlowServer600233.html +1 -1
- package/documention/WorkFlowServer600235.html +1 -1
- package/documention/WorkFlowServer600237.html +1 -1
- package/documention/WorkFlowServer600238.html +1 -1
- package/documention/WorkFlowServer600239.html +1 -1
- package/documention/WorkFlowServer600307.html +1 -1
- package/documention/WorkFlowServer600308.html +1 -1
- package/documention/WorkFlowServer600309.html +1 -1
- package/documention/WorkFlowServer600314.html +1 -1
- package/documention/WorkFlowServer600334.html +1 -1
- package/documention/WorkFlowServer600336.html +1 -1
- package/documention/WorkFlowServer600340.html +1 -1
- package/documention/WorkFlowServer600354.html +1 -1
- package/documention/WorkFlowServer600368.html +1 -1
- package/documention/WorkFlowServer600369.html +1 -1
- package/documention/WorkFlowServer600370.html +1 -1
- package/documention/WorkFlowServer600371.html +1 -1
- package/documention/WorkFlowServer600372.html +1 -1
- package/documention/global.html +26 -2
- package/documention/index.html +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +1 -1
- 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 +1 -1
- 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 +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.html +1 -1
- package/documention/module.exports.html +1 -1
- package/documention/zondy.object.CAttDataRow.html +1 -1
- package/documention/zondy.object.CAttStruct.html +1 -1
- package/package.json +1 -1
|
@@ -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="CollectionFlattener"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollectionFlattener.html">CollectionFlattener</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Color"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Color.html">Color</a><span style="display: none;"><p>颜色类</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="Event"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Event.html">Event</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="LayerEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerEvent.html">LayerEvent</a><span style="display: none;"><p>图层事件传输实体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateContent.html">LayerViewUpdateContent</a><span style="display: none;"><p>图层视图更新事件体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateEvent.html">LayerViewUpdateEvent</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;"
|
|
470
|
+
集合的另一个示例是Map.layers,它是所有地图的集合。</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CollectionFlattener"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollectionFlattener.html">CollectionFlattener</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Color"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Color.html">Color</a><span style="display: none;"><p>颜色类</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="Event"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Event.html">Event</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="LayerEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerEvent.html">LayerEvent</a><span style="display: none;"><p>图层事件传输实体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateContent.html">LayerViewUpdateContent</a><span style="display: none;"><p>图层视图更新事件体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateEvent.html">LayerViewUpdateEvent</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;"><p>草图工具事件的消息体</p></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><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VertexSelectEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VertexSelectEventInfo.html">VertexSelectEventInfo</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="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/>
|
|
@@ -2644,6 +2644,193 @@ import { FeatureSet } from "@mapgis/webclient-common" <br/>
|
|
|
2644
2644
|
|
|
2645
2645
|
|
|
2646
2646
|
|
|
2647
|
+
</div>
|
|
2648
|
+
|
|
2649
|
+
<div class="member">
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
<h4 class="name" id="_updateDiff">
|
|
2654
|
+
<a class="href-link" href="#_updateDiff">#</a>
|
|
2655
|
+
|
|
2656
|
+
<span class="code-name" style="font-size:30px">
|
|
2657
|
+
|
|
2658
|
+
_updateDiff<span class="signature">(key, value)</span>
|
|
2659
|
+
|
|
2660
|
+
</span>
|
|
2661
|
+
</h4>
|
|
2662
|
+
|
|
2663
|
+
|
|
2664
|
+
|
|
2665
|
+
<div class="description">
|
|
2666
|
+
<p>图层属性监听触发器</p>
|
|
2667
|
+
</div>
|
|
2668
|
+
|
|
2669
|
+
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
|
|
2674
|
+
|
|
2675
|
+
|
|
2676
|
+
|
|
2677
|
+
|
|
2678
|
+
<h4>参数:</h4>
|
|
2679
|
+
|
|
2680
|
+
<div class="table-container">
|
|
2681
|
+
<table class="params table">
|
|
2682
|
+
<thead>
|
|
2683
|
+
<tr>
|
|
2684
|
+
|
|
2685
|
+
<th>名称</th>
|
|
2686
|
+
|
|
2687
|
+
|
|
2688
|
+
<th>类型</th>
|
|
2689
|
+
|
|
2690
|
+
|
|
2691
|
+
|
|
2692
|
+
<th class="last">描述</th>
|
|
2693
|
+
</tr>
|
|
2694
|
+
</thead>
|
|
2695
|
+
|
|
2696
|
+
<tbody>
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
|
|
2700
|
+
<tr class="deep-level-0">
|
|
2701
|
+
|
|
2702
|
+
<td class="name"><code>key</code></td>
|
|
2703
|
+
|
|
2704
|
+
|
|
2705
|
+
<td class="type">
|
|
2706
|
+
|
|
2707
|
+
|
|
2708
|
+
<span class="param-type">String</span>
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
|
|
2712
|
+
</td>
|
|
2713
|
+
|
|
2714
|
+
|
|
2715
|
+
|
|
2716
|
+
<td class="description last"></td>
|
|
2717
|
+
</tr>
|
|
2718
|
+
|
|
2719
|
+
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
<tr class="deep-level-0">
|
|
2725
|
+
|
|
2726
|
+
<td class="name"><code>value</code></td>
|
|
2727
|
+
|
|
2728
|
+
|
|
2729
|
+
<td class="type">
|
|
2730
|
+
|
|
2731
|
+
|
|
2732
|
+
<span class="param-type">*</span>
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
</td>
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
<td class="description last"></td>
|
|
2741
|
+
</tr>
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
</tbody>
|
|
2747
|
+
</table>
|
|
2748
|
+
</div>
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
<dl class="details">
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
|
|
2772
|
+
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
</dl>
|
|
2788
|
+
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
|
|
2800
|
+
|
|
2801
|
+
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
<div class='columns method-parameter'>
|
|
2807
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
2808
|
+
<div class="column is-10">
|
|
2809
|
+
|
|
2810
|
+
|
|
2811
|
+
|
|
2812
|
+
<div class="columns">
|
|
2813
|
+
|
|
2814
|
+
|
|
2815
|
+
<div class='column is-5 has-text-left'>
|
|
2816
|
+
<label>类型: </label>
|
|
2817
|
+
|
|
2818
|
+
<span class="param-type">*</span>
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
</div>
|
|
2822
|
+
|
|
2823
|
+
</div>
|
|
2824
|
+
|
|
2825
|
+
|
|
2826
|
+
</div>
|
|
2827
|
+
</div>
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
|
|
2647
2834
|
</div>
|
|
2648
2835
|
|
|
2649
2836
|
<div class="member">
|
|
@@ -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="CollectionFlattener"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollectionFlattener.html">CollectionFlattener</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Color"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Color.html">Color</a><span style="display: none;"><p>颜色类</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="Event"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Event.html">Event</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="LayerEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerEvent.html">LayerEvent</a><span style="display: none;"><p>图层事件传输实体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateContent.html">LayerViewUpdateContent</a><span style="display: none;"><p>图层视图更新事件体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateEvent.html">LayerViewUpdateEvent</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;"
|
|
470
|
+
集合的另一个示例是Map.layers,它是所有地图的集合。</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CollectionFlattener"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollectionFlattener.html">CollectionFlattener</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Color"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Color.html">Color</a><span style="display: none;"><p>颜色类</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="Event"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Event.html">Event</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="LayerEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerEvent.html">LayerEvent</a><span style="display: none;"><p>图层事件传输实体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateContent.html">LayerViewUpdateContent</a><span style="display: none;"><p>图层视图更新事件体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateEvent.html">LayerViewUpdateEvent</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;"><p>草图工具事件的消息体</p></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><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VertexSelectEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VertexSelectEventInfo.html">VertexSelectEventInfo</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="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/>
|
|
@@ -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="CollectionFlattener"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollectionFlattener.html">CollectionFlattener</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Color"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Color.html">Color</a><span style="display: none;"><p>颜色类</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="Event"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Event.html">Event</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="LayerEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerEvent.html">LayerEvent</a><span style="display: none;"><p>图层事件传输实体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateContent.html">LayerViewUpdateContent</a><span style="display: none;"><p>图层视图更新事件体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateEvent.html">LayerViewUpdateEvent</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;"
|
|
470
|
+
集合的另一个示例是Map.layers,它是所有地图的集合。</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CollectionFlattener"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollectionFlattener.html">CollectionFlattener</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Color"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Color.html">Color</a><span style="display: none;"><p>颜色类</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="Event"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Event.html">Event</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="LayerEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerEvent.html">LayerEvent</a><span style="display: none;"><p>图层事件传输实体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateContent.html">LayerViewUpdateContent</a><span style="display: none;"><p>图层视图更新事件体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateEvent.html">LayerViewUpdateEvent</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;"><p>草图工具事件的消息体</p></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><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VertexSelectEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VertexSelectEventInfo.html">VertexSelectEventInfo</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="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/>
|
|
@@ -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="CollectionFlattener"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollectionFlattener.html">CollectionFlattener</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Color"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Color.html">Color</a><span style="display: none;"><p>颜色类</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="Event"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Event.html">Event</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="LayerEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerEvent.html">LayerEvent</a><span style="display: none;"><p>图层事件传输实体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateContent.html">LayerViewUpdateContent</a><span style="display: none;"><p>图层视图更新事件体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateEvent.html">LayerViewUpdateEvent</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;"
|
|
470
|
+
集合的另一个示例是Map.layers,它是所有地图的集合。</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CollectionFlattener"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollectionFlattener.html">CollectionFlattener</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Color"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Color.html">Color</a><span style="display: none;"><p>颜色类</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="Event"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Event.html">Event</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="LayerEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerEvent.html">LayerEvent</a><span style="display: none;"><p>图层事件传输实体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateContent.html">LayerViewUpdateContent</a><span style="display: none;"><p>图层视图更新事件体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateEvent.html">LayerViewUpdateEvent</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;"><p>草图工具事件的消息体</p></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><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VertexSelectEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VertexSelectEventInfo.html">VertexSelectEventInfo</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="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/>
|
|
@@ -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="CollectionFlattener"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollectionFlattener.html">CollectionFlattener</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Color"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Color.html">Color</a><span style="display: none;"><p>颜色类</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="Event"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Event.html">Event</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="LayerEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerEvent.html">LayerEvent</a><span style="display: none;"><p>图层事件传输实体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateContent.html">LayerViewUpdateContent</a><span style="display: none;"><p>图层视图更新事件体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateEvent.html">LayerViewUpdateEvent</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;"
|
|
470
|
+
集合的另一个示例是Map.layers,它是所有地图的集合。</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CollectionFlattener"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollectionFlattener.html">CollectionFlattener</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Color"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Color.html">Color</a><span style="display: none;"><p>颜色类</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="Event"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Event.html">Event</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="LayerEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerEvent.html">LayerEvent</a><span style="display: none;"><p>图层事件传输实体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateContent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateContent.html">LayerViewUpdateContent</a><span style="display: none;"><p>图层视图更新事件体</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="LayerViewUpdateEvent"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="LayerViewUpdateEvent.html">LayerViewUpdateEvent</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;"><p>草图工具事件的消息体</p></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><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VertexSelectEventInfo"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VertexSelectEventInfo.html">VertexSelectEventInfo</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="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/>
|