@xingm/vmap-cesium-toolbar 1.0.0 → 1.0.2
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/{dist/adapters → adapters}/DrawHelperAdapter.d.ts +29 -4
- package/adapters/HeatmapLayerAdapter.d.ts +11 -0
- package/{dist/adapters → adapters}/MapLoaderAdapter.d.ts +17 -0
- package/adapters/MapMarkAdapter.d.ts +29 -0
- package/{dist/adapters → adapters}/OverlayServiceAdapter.d.ts +57 -3
- package/{dist/adapters → adapters}/ToolbarAdapter.d.ts +40 -2
- package/{dist/adapters → adapters}/index.d.ts +4 -0
- package/{dist/core → core}/MapPlugin.d.ts +32 -4
- package/{dist/core → core}/entities/BaseOverlay.d.ts +7 -0
- package/{dist/core → core}/entities/Circle.d.ts +17 -1
- package/{dist/core → core}/entities/Polyline.d.ts +2 -0
- package/{dist/core → core}/entities/Ring.d.ts +2 -0
- package/core/entities/primitives/CirclePrimitiveBatch.d.ts +42 -0
- package/core/entities/primitives/CirclePrimitiveLayerStack.d.ts +15 -0
- package/core/layers/TDTMapLayer.d.ts +61 -0
- package/{dist/core → core}/layers/index.d.ts +1 -0
- package/core/mapProviders/coordinates/CoordinateService.d.ts +8 -0
- package/core/mapProviders/coordinates/bd09.d.ts +5 -0
- package/core/mapProviders/coordinates/cesium.d.ts +5 -0
- package/core/mapProviders/coordinates/gcj02.d.ts +4 -0
- package/core/mapProviders/coordinates/transform.d.ts +2 -0
- package/core/mapProviders/coordinates/types.d.ts +6 -0
- package/core/mapProviders/registry.d.ts +13 -0
- package/core/mapProviders/tilingSchemes/baidu.d.ts +2 -0
- package/core/mapProviders/tilingSchemes/gcj02.d.ts +2 -0
- package/core/mapProviders/types.d.ts +65 -0
- package/{dist/core → core}/services/draw/DrawService.d.ts +7 -0
- package/core/services/draw/DrawSessionStore.d.ts +127 -0
- package/{dist/core → core}/services/draw/entities/drawPreviewFactory.d.ts +1 -0
- package/{dist/core → core}/services/draw/geometry/drawGeometry.d.ts +1 -0
- package/{dist/core → core}/services/draw/types/drawTypes.d.ts +15 -0
- package/{dist/core → core}/services/index.d.ts +1 -0
- package/core/services/mark/MarkService.d.ts +50 -0
- package/core/services/mark/MarkToolbar.d.ts +11 -0
- package/core/services/mark/index.d.ts +3 -0
- package/core/services/mark/markDefaults.d.ts +2 -0
- package/core/services/mark/markResult.d.ts +5 -0
- package/core/services/mark/markTypes.d.ts +71 -0
- package/{dist/core → core}/services/overlay/OverlayService.d.ts +53 -0
- package/{dist/core → core}/services/toolbar/ToolbarService.d.ts +12 -0
- package/{dist/core → core}/services/toolbar/buttons/MeasureButtonHandler.d.ts +5 -0
- package/{dist/core → core}/services/toolbar/buttons/SearchButtonHandler.d.ts +4 -0
- package/{dist/core → core}/services/toolbar/buttons/SimpleButtonHandler.d.ts +3 -0
- package/{dist/core → core}/services/toolbar/config.d.ts +1 -0
- package/{dist/core → core}/services/toolbar/types.d.ts +7 -0
- package/{dist/core → core}/types.d.ts +56 -13
- package/{dist/i18n → i18n}/en-US.d.ts +7 -0
- package/{dist/i18n → i18n}/zh-CN.d.ts +7 -0
- package/{dist/index.d.ts → index.d.ts} +12 -5
- package/index.es.js +11172 -0
- package/index.es.js.map +1 -0
- package/{dist/libs → libs}/CesiumMapLoader.d.ts +1 -0
- package/{dist/libs → libs}/CesiumMapToolbar.d.ts +5 -0
- package/{dist/libs → libs}/toolBar/MapToolBarConfig.d.ts +4 -0
- package/package.json +60 -73
- package/dist/README.md +0 -172
- package/dist/core/layers/TDTMapLayer.d.ts +0 -45
- package/dist/core/services/draw/DrawSessionStore.d.ts +0 -28
- package/dist/index.es.js +0 -8024
- package/dist/index.es.js.map +0 -1
- package/dist/package.json +0 -59
- /package/{dist/components → components}/BaseComponent.d.ts +0 -0
- /package/{dist/components → components}/SearchBox.d.ts +0 -0
- /package/{dist/components → components}/Toolbar.d.ts +0 -0
- /package/{dist/components → components}/ToolbarButton.d.ts +0 -0
- /package/{dist/components → components}/index.d.ts +0 -0
- /package/{dist/core → core}/constants.d.ts +0 -0
- /package/{dist/core → core}/entities/Icon.d.ts +0 -0
- /package/{dist/core → core}/entities/InfoWindow.d.ts +0 -0
- /package/{dist/core → core}/entities/Label.d.ts +0 -0
- /package/{dist/core → core}/entities/Marker.d.ts +0 -0
- /package/{dist/core → core}/entities/Polygon.d.ts +0 -0
- /package/{dist/core → core}/entities/Rectangle.d.ts +0 -0
- /package/{dist/core → core}/entities/SVG.d.ts +0 -0
- /package/{dist/core → core}/entities/index.d.ts +0 -0
- /package/{dist/core → core}/index.d.ts +0 -0
- /package/{dist/core → core}/layers/BaiduMapLayer.d.ts +0 -0
- /package/{dist/core → core}/layers/CustomMapLayer.d.ts +0 -0
- /package/{dist/core → core}/layers/GaodeMapLayer.d.ts +0 -0
- /package/{dist/core → core}/layers/HeatmapLayer.d.ts +0 -0
- /package/{dist/core → core}/layers/MapLayer.d.ts +0 -0
- /package/{dist/core → core}/layers/OSMMapLayer.d.ts +0 -0
- /package/{dist/core → core}/layers/PointClusterLayer.d.ts +0 -0
- /package/{dist/core → core}/services/draw/DrawInteractionController.d.ts +0 -0
- /package/{dist/core → core}/services/draw/drawDefaults.d.ts +0 -0
- /package/{dist/core → core}/services/draw/entities/drawEntityFactory.d.ts +0 -0
- /package/{dist/core → core}/services/draw/entities/drawEntityRegistry.d.ts +0 -0
- /package/{dist/core → core}/services/draw/entities/drawFinalFactory.d.ts +0 -0
- /package/{dist/core → core}/services/draw/geometry/drawPosition.d.ts +0 -0
- /package/{dist/core → core}/services/draw/index.d.ts +0 -0
- /package/{dist/core → core}/services/draw/labels/drawHint.d.ts +0 -0
- /package/{dist/core → core}/services/draw/labels/measurementCanvas.d.ts +0 -0
- /package/{dist/core → core}/services/draw/labels/measurementLabelFactory.d.ts +0 -0
- /package/{dist/core → core}/services/draw/measurementThemeResolver.d.ts +0 -0
- /package/{dist/core → core}/services/draw/types/drawState.d.ts +0 -0
- /package/{dist/core → core}/services/overlay/index.d.ts +0 -0
- /package/{dist/core → core}/services/toolbar/buttons/BaseButtonHandler.d.ts +0 -0
- /package/{dist/core → core}/services/toolbar/buttons/LayersButtonHandler.d.ts +0 -0
- /package/{dist/core → core}/services/toolbar/index.d.ts +0 -0
- /package/{dist/core → core}/services/toolbar/menus/BaseMenu.d.ts +0 -0
- /package/{dist/core → core}/services/toolbar/menus/MeasureMenu.d.ts +0 -0
- /package/{dist/geojson → geojson}/file-list.json +0 -0
- /package/{dist/geojson → geojson}//344/270/207/345/267/236_/344/272/224/346/241/245/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/211/344/272/232_/345/207/244/345/207/260/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/211/346/230/216_/346/262/231/345/216/277/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/212/346/265/267_/346/265/246/344/270/234/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/212/346/265/267_/350/231/271/346/241/245/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/212/351/245/266_/344/270/211/346/270/205/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/224/346/234/253_/347/216/211/351/203/275/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/234/350/220/245/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/255/345/215/253_/346/262/231/345/235/241/345/244/264/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/264/346/261/276_/344/271/224/346/235/216/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/264/346/262/202_/346/262/255/345/237/240/345/262/255/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/264/346/262/247_/345/215/232/345/260/232/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/271/344/270/234_/346/265/252/345/244/264/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/270/275/346/261/237_/344/270/211/344/271/211/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/271/211/344/271/214/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/271/214/345/205/260/345/257/237/345/270/203_/351/233/206/345/256/201/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/271/214/345/205/260/346/265/251/347/211/271_/344/276/235/345/213/222/345/212/233/347/211/271/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/271/214/346/265/267/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/271/214/351/262/201/346/234/250/351/275/220_/345/234/260/347/252/235/345/240/241/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/272/214/350/277/236/346/265/251/347/211/271_/350/265/233/344/271/214/347/264/240/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/272/225/345/206/210/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/274/212/345/256/201/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/274/212/346/230/245_/346/236/227/351/203/275/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/275/263/346/234/250/346/226/257/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//344/277/235/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/205/213/346/213/211/347/216/233/344/276/235/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/205/260/345/267/236_/344/270/255/345/267/235/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/205/264/344/271/211_/344/270/207/345/263/260/346/236/227/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/212/240/346/240/274/350/276/276/345/245/207_/345/230/216/344/273/231/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/214/205/345/244/264/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/214/227/344/272/254_/351/246/226/351/203/275/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/214/227/346/265/267_/347/246/217/346/210/220/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/215/201/345/240/260_/346/255/246/345/275/223/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/215/227/344/272/254_/347/246/204/345/217/243/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/215/227/345/256/201_/345/220/264/345/234/251/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/215/227/346/230/214_/346/230/214/345/214/227/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/215/227/351/200/232_/345/205/264/344/270/234/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/215/227/351/230/263_/345/247/234/350/220/245/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/215/232/344/271/220_/351/230/277/346/213/211/345/261/261/345/217/243/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/216/246/351/227/250_/351/253/230/345/264/216/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/217/260/345/267/236_/350/267/257/346/241/245/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/220/210/350/202/245_/346/226/260/346/241/245/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/220/220/351/262/201/347/225/252_/344/272/244/346/262/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/221/274/344/274/246/350/264/235/345/260/224_/346/265/267/346/213/211/345/260/224/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/221/274/345/222/214/346/265/251/347/211/271_/347/231/275/345/241/224/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/222/214/347/224/260/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/223/210/345/260/224/346/273/250_/345/244/252/345/271/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/224/220/345/261/261_/344/270/211/345/245/263/346/262/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/226/200/344/273/200/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/230/211/345/263/252/345/205/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/233/272/345/216/237_/345/205/255/347/233/230/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/241/224/345/237/216/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/244/247/345/220/214_/344/272/221/345/206/210/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/244/247/345/272/206_/350/220/250/345/260/224/345/233/276/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/244/247/350/277/236_/345/221/250/346/260/264/345/255/220/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/244/251/346/264/245_/346/273/250/346/265/267/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/244/252/345/216/237_/346/255/246/345/256/277/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/256/201/346/263/242_/346/240/216/347/244/276/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/256/201/350/222/227_/346/263/270/346/262/275/346/271/226/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/256/211/345/272/206/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/256/234/345/256/276_/350/217/234/345/235/235/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/256/234/346/230/214_/344/270/211/345/263/241/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/256/234/346/230/245_/346/230/216/346/234/210/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/257/214/350/225/264_/345/217/257/345/217/257/346/211/230/346/265/267/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/267/264/345/275/246/346/267/226/345/260/224_/345/244/251/345/220/211/346/263/260/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/270/203/345/260/224/346/264/245_/345/226/200/347/272/263/346/226/257/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/270/270/345/267/236_/345/245/224/347/211/233/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/270/270/345/276/267_/346/241/203/350/212/261/346/272/220/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/271/277/345/205/203_/347/233/230/351/276/231/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/271/277/345/267/236_/347/231/275/344/272/221/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/272/206/351/230/263_/350/245/277/345/263/260/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/272/223/350/275/246_/351/276/237/345/205/271/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/272/267/345/256/232/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/273/266/345/220/211_/346/234/235/351/230/263/345/267/235/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/274/240/345/256/266/347/225/214_/350/215/267/350/212/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/274/240/346/216/226_/347/224/230/345/267/236/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/276/220/345/267/236_/350/247/202/351/237/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/276/267/345/256/217_/350/212/222/345/270/202/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//345/277/273/345/267/236_/344/272/224/345/217/260/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/200/200/345/214/226_/350/212/267/346/261/237/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/201/251/346/226/275_/350/256/270/345/256/266/345/235/252/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/210/220/351/203/275_/345/217/214/346/265/201/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/211/216/345/205/260/345/261/257_/346/210/220/345/220/211/346/200/235/346/261/227/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/211/254/345/267/236_/346/263/260/345/267/236/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/212/232/350/277/234_/344/270/234/346/236/201/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/217/255/351/230/263_/346/275/256/346/261/225/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/224/200/346/236/235/350/212/261_/344/277/235/345/256/211/350/220/245/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/225/246/347/205/214/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/226/260/346/272/220_/351/202/243/346/213/211/346/217/220/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/227/245/347/205/247_/345/261/261/345/255/227/346/262/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/230/206/346/230/216_/351/225/277/346/260/264/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/231/256/346/264/261_/346/200/235/350/214/205/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/231/257/345/276/267/351/225/207_/347/275/227/345/256/266/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/234/235/351/230/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/235/255/345/267/236_/350/220/247/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/236/234/346/264/233_/347/216/233/346/262/201/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/237/263/345/267/236_/347/231/275/350/216/262/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/241/202/346/236/227_/344/270/244/346/261/237/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/242/205/345/216/277_/351/225/277/345/262/227/345/262/214/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/242/247/345/267/236/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/246/206/346/236/227_/346/246/206/351/230/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/255/246/346/261/211_/345/244/251/346/262/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/260/270/345/267/236_/351/233/266/351/231/265/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/261/211/344/270/255_/345/237/216/345/233/272/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/261/240/345/267/236_/344/271/235/345/215/216/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/262/210/351/230/263_/346/241/203/344/273/231/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/262/263/346/261/240_/351/207/221/345/237/216/346/261/237/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/263/211/345/267/236_/346/231/213/346/261/237/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/264/233/351/230/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/265/216/345/215/227_/351/201/245/345/242/231/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/265/216/345/256/201_/346/233/262/351/230/234/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/265/267/345/217/243_/347/276/216/345/205/260/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/265/267/350/245/277_/345/276/267/344/273/244/345/223/210/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/265/267/350/245/277_/350/212/261/345/234/237/346/262/237/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/267/256/345/256/211_/346/266/237/346/260/264/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/267/261/345/234/263_/345/256/235/345/256/211/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/270/251/345/267/236_/351/276/231/346/271/276/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/271/233/346/261/237/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/273/241/346/264/262/351/207/214_/350/245/277/351/203/212/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/274/240/346/262/263_/345/217/244/350/216/262/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/275/215/345/235/212/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//346/276/234/346/262/247_/346/231/257/350/277/210/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/203/237/345/217/260_/350/223/254/350/216/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/211/241/344/270/271/346/261/237_/346/265/267/346/265/252/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/216/211/346/240/221_/345/267/264/345/241/230/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/217/240/346/265/267_/351/207/221/346/271/276/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/220/274/346/265/267_/345/215/232/351/263/214/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/224/230/345/215/227_/345/244/217/346/262/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/231/275/345/237/216_/351/225/277/345/256/211/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/231/275/345/261/261_/351/225/277/347/231/275/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/231/276/350/211/262_/345/267/264/351/251/254/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/237/263/345/256/266/345/272/204_/346/255/243/345/256/232/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/237/263/346/262/263/345/255/220_/350/212/261/345/233/255/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/245/236/345/206/234/346/236/266_/347/272/242/345/235/252/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/246/217/345/267/236_/351/225/277/344/271/220/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/247/246/347/232/207/345/262/233_/345/214/227/346/210/264/346/262/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//347/250/273/345/237/216_/344/272/232/344/270/201/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/205/276/345/206/262_/351/251/274/345/263/260/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/220/245/345/217/243_/345/205/260/346/227/227/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/241/241/351/230/263_/345/215/227/345/262/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/241/242/345/267/236/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/245/204/351/230/263_/345/210/230/351/233/206/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/245/277/345/217/214/347/211/210/347/272/263_/345/230/216/346/264/222/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/245/277/345/256/201_/346/233/271/345/256/266/345/240/241/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/245/277/345/256/211_/345/222/270/351/230/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/245/277/346/230/214_/351/235/222/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/264/265/351/230/263_/351/276/231/346/264/236/345/240/241/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/265/243/345/267/236_/351/273/204/351/207/221/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/265/244/345/263/260_/347/216/211/351/276/231/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/276/276/345/267/236_/346/262/263/345/270/202/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//350/277/236/344/272/221/346/270/257_/347/231/275/345/241/224/345/237/240/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/200/232/345/214/226_/344/270/211/346/272/220/346/265/246/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/203/221/345/267/236_/346/226/260/351/203/221/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/204/202/345/260/224/345/244/232/346/226/257_/344/274/212/351/207/221/351/234/215/346/264/233/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/207/215/345/272/206_/346/261/237/345/214/227/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/207/221/346/230/214_/351/207/221/345/267/235/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/223/234/344/273/201_/345/207/244/345/207/260/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/223/266/345/267/235_/346/262/263/344/270/234/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/224/241/346/236/227/346/265/251/347/211/271/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/224/246/345/267/236_/351/224/246/345/267/236/346/271/276/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/225/277/346/230/245_/351/276/231/345/230/211/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/225/277/346/262/231_/351/273/204/350/212/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/230/277/345/205/213/350/213/217_/346/270/251/345/256/277/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/230/277/345/213/222/346/263/260/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/230/277/345/260/224/345/261/261_/344/274/212/345/260/224/346/226/275/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/235/222/345/262/233_/346/265/201/344/272/255/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/236/215/345/261/261_/350/205/276/351/263/214/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/270/241/350/245/277_/345/205/264/345/207/257/346/271/226/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/273/204/345/261/261_/345/261/257/346/272/252/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/273/216/345/271/263/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/273/221/346/262/263_/347/221/267/347/217/262/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/273/224/346/261/237_/346/255/246/351/231/265/345/261/261/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/geojson → geojson}//351/275/220/351/275/220/345/223/210/345/260/224_/344/270/211/345/256/266/345/255/220/346/234/272/345/234/272.geojson" +0 -0
- /package/{dist/i18n → i18n}/index.d.ts +0 -0
- /package/{dist/libs → libs}/CesiumAutoRecover.d.ts +0 -0
- /package/{dist/libs → libs}/CesiumHeatmapLayer.d.ts +0 -0
- /package/{dist/libs → libs}/CesiumMapDraw.d.ts +0 -0
- /package/{dist/libs → libs}/CesiumMapModel.d.ts +0 -0
- /package/{dist/libs → libs}/CesiumOverlayService.d.ts +0 -0
- /package/{dist/libs → libs}/CesiumPointClusterLayer.d.ts +0 -0
- /package/{dist/libs → libs}/config/CesiumMapConfig.d.ts +0 -0
- /package/{dist/libs → libs}/drawHelper/DrawHint.d.ts +0 -0
- /package/{dist/libs → libs}/drawHelper/index.d.ts +0 -0
- /package/{dist/libs → libs}/toolBar/CesiumMapController.d.ts +0 -0
- /package/{dist/libs → libs}/toolBar/MapLayersService.d.ts +0 -0
- /package/{dist/libs → libs}/toolBar/MapSearchService.d.ts +0 -0
- /package/{dist/libs → libs}/toolBar/MeasurementService.d.ts +0 -0
- /package/{dist/libs → libs}/toolBar/NotFlyZonesService.d.ts +0 -0
- /package/{dist/style.css → style.css} +0 -0
- /package/{dist/styles → styles}/ComponentStyles.d.ts +0 -0
- /package/{dist/styles → styles}/StyleManager.d.ts +0 -0
- /package/{dist/styles → styles}/index.d.ts +0 -0
- /package/{dist/utils → utils}/PickGovernor.d.ts +0 -0
- /package/{dist/utils → utils}/calc.d.ts +0 -0
- /package/{dist/utils → utils}/common.d.ts +0 -0
- /package/{dist/utils → utils}/geojson.d.ts +0 -0
- /package/{dist/utils → utils}/selfIntersection.d.ts +0 -0
|
@@ -71,6 +71,11 @@ export interface ToolbarCallbacks {
|
|
|
71
71
|
getAreaDrawOptions?: () => any;
|
|
72
72
|
onDistanceComplete?: (positions: any[], distance: number) => void;
|
|
73
73
|
onAreaComplete?: (positions: any[], area: number) => void;
|
|
74
|
+
onMeasurementComplete?: (result: {
|
|
75
|
+
type: 'distance' | 'area';
|
|
76
|
+
positions: any[];
|
|
77
|
+
value: number;
|
|
78
|
+
}) => void;
|
|
74
79
|
onClear?: () => void;
|
|
75
80
|
/** 缩放回调 */
|
|
76
81
|
onZoomIn?: (beforeHeight: number, afterHeight: number) => void;
|
|
@@ -89,6 +94,7 @@ export interface SearchResult {
|
|
|
89
94
|
longitude: number;
|
|
90
95
|
latitude: number;
|
|
91
96
|
height?: number;
|
|
97
|
+
coordSystem?: 'WGS84' | 'GCJ02' | 'BD09';
|
|
92
98
|
}
|
|
93
99
|
/**
|
|
94
100
|
* 搜索服务配置
|
|
@@ -102,6 +108,7 @@ export interface SearchServiceConfig {
|
|
|
102
108
|
export interface MeasurementCompleteEvent {
|
|
103
109
|
type: 'distance' | 'area';
|
|
104
110
|
positions: any[];
|
|
111
|
+
geographicPositions?: any[];
|
|
105
112
|
value: number;
|
|
106
113
|
}
|
|
107
114
|
export interface MeasurementServiceLike {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Cartesian3, Cartographic, Color, MaterialProperty, Rectangle, Entity } from '../../node_modules/cesium';
|
|
2
2
|
import { I18nLike } from '../i18n';
|
|
3
3
|
import { ToolbarCallbacks } from './services/toolbar/types';
|
|
4
|
+
import { BaseMapConfig, BaseMapProviderId, MapAuthConfig, MapProviderContext, OfflineCameraBoundsConfig, BaseMapRectangle } from './mapProviders/types';
|
|
5
|
+
import { CoordSystem, LngLat } from './mapProviders/coordinates/types';
|
|
4
6
|
import * as Cesium from 'cesium';
|
|
5
7
|
/**
|
|
6
8
|
* 核心类型定义 - 整合所有地图插件相关的类型
|
|
@@ -27,6 +29,14 @@ export interface ToolbarConfig {
|
|
|
27
29
|
buttons?: CustomButtonConfig[];
|
|
28
30
|
useI18n?: boolean;
|
|
29
31
|
i18n?: I18nLike;
|
|
32
|
+
/** @deprecated 兼容旧版 toolbar 认证字段 */
|
|
33
|
+
token?: string;
|
|
34
|
+
/** @deprecated 兼容旧版 toolbar 认证字段 */
|
|
35
|
+
sk?: string;
|
|
36
|
+
/** @deprecated 兼容旧版 toolbar 认证字段 */
|
|
37
|
+
TD_Token?: string;
|
|
38
|
+
/** @deprecated 兼容旧版 toolbar 认证字段 */
|
|
39
|
+
TD_SK?: string;
|
|
30
40
|
}
|
|
31
41
|
/**
|
|
32
42
|
* 基础按钮配置接口
|
|
@@ -45,7 +55,7 @@ export interface ButtonConfig {
|
|
|
45
55
|
hoverColor?: string;
|
|
46
56
|
activeColor?: string;
|
|
47
57
|
backgroundColor?: string;
|
|
48
|
-
callback?: () => void;
|
|
58
|
+
callback?: (...args: any[]) => void;
|
|
49
59
|
activeIcon?: string | HTMLElement;
|
|
50
60
|
}
|
|
51
61
|
/**
|
|
@@ -54,7 +64,7 @@ export interface ButtonConfig {
|
|
|
54
64
|
export interface CustomButtonConfig {
|
|
55
65
|
id: string;
|
|
56
66
|
icon: string | HTMLElement | false;
|
|
57
|
-
title
|
|
67
|
+
title?: string;
|
|
58
68
|
titleKey?: string;
|
|
59
69
|
enabled?: boolean;
|
|
60
70
|
visible?: boolean;
|
|
@@ -69,7 +79,7 @@ export interface CustomButtonConfig {
|
|
|
69
79
|
backgroundColor?: string;
|
|
70
80
|
sort?: number;
|
|
71
81
|
activeIcon?: string | HTMLElement | false;
|
|
72
|
-
callback?: () => void;
|
|
82
|
+
callback?: (...args: any[]) => void;
|
|
73
83
|
onClick?: (buttonId: string, buttonElement: HTMLElement) => void;
|
|
74
84
|
}
|
|
75
85
|
/**
|
|
@@ -97,14 +107,15 @@ export interface SearchResult {
|
|
|
97
107
|
longitude: number;
|
|
98
108
|
latitude: number;
|
|
99
109
|
height?: number;
|
|
110
|
+
coordSystem?: CoordSystem;
|
|
100
111
|
}
|
|
101
112
|
/**
|
|
102
113
|
* 测量回调接口
|
|
103
114
|
*/
|
|
104
115
|
export interface MeasurementCallback {
|
|
105
116
|
onMeasurementStart?: (positions?: Cartesian3[]) => void;
|
|
106
|
-
onDistanceComplete?: (positions: Cartesian3
|
|
107
|
-
onAreaComplete?: (positions: Cartesian3
|
|
117
|
+
onDistanceComplete?: (positions: Array<Cartesian3 | LngLat>, distance: number) => void;
|
|
118
|
+
onAreaComplete?: (positions: Array<Cartesian3 | LngLat>, area: number) => void;
|
|
108
119
|
onClear?: () => void;
|
|
109
120
|
}
|
|
110
121
|
/**
|
|
@@ -119,8 +130,11 @@ export interface ZoomCallback {
|
|
|
119
130
|
*/
|
|
120
131
|
export interface MapType {
|
|
121
132
|
id: string;
|
|
133
|
+
providerId?: BaseMapProviderId;
|
|
122
134
|
name: string;
|
|
123
135
|
nameKey?: string;
|
|
136
|
+
/** 运行时依赖脚本列表,初始化时可按需加载 */
|
|
137
|
+
runtimeScripts?: string[];
|
|
124
138
|
/** 选中态左上角"路网"文案(可选,未配置时走 i18n 默认 key) */
|
|
125
139
|
placeNameLabel?: string;
|
|
126
140
|
/** 选中态左上角"路网"文案 i18n key(可选) */
|
|
@@ -128,9 +142,9 @@ export interface MapType {
|
|
|
128
142
|
/** 是否强制始终显示路网层(不受 placeName 开关影响) */
|
|
129
143
|
forcePlaceName?: boolean;
|
|
130
144
|
thumbnail: string;
|
|
131
|
-
provider: (
|
|
132
|
-
terrainProvider?: (
|
|
133
|
-
geoWTFS?: (token: string, viewer: Cesium.Viewer) => any | null;
|
|
145
|
+
provider: (context: MapProviderContext | string, legacySk?: string) => Cesium.ImageryProvider[] | Promise<Cesium.ImageryProvider[]>;
|
|
146
|
+
terrainProvider?: (context: MapProviderContext | string, legacySk?: string) => Cesium.TerrainProvider | null | Promise<Cesium.TerrainProvider | null>;
|
|
147
|
+
geoWTFS?: (token: string, viewer: Cesium.Viewer, sk?: string) => any | null;
|
|
134
148
|
}
|
|
135
149
|
export interface LayersPanelStyleConfig {
|
|
136
150
|
containerStyle?: Partial<CSSStyleDeclaration>;
|
|
@@ -186,7 +200,8 @@ export interface NoFlyZonePluginOptions {
|
|
|
186
200
|
/**
|
|
187
201
|
* 地图提供商类型
|
|
188
202
|
*/
|
|
189
|
-
export type ProviderType =
|
|
203
|
+
export type ProviderType = BaseMapProviderId | 'arcgis' | 'osm';
|
|
204
|
+
export type TDTMapTypeId = 'vec' | 'img' | 'ter' | 'tdt3d';
|
|
190
205
|
/**
|
|
191
206
|
* 相机/视图配置
|
|
192
207
|
*/
|
|
@@ -199,15 +214,18 @@ export interface CameraConfig {
|
|
|
199
214
|
heading?: number;
|
|
200
215
|
/** 翻滚角(度),默认 0 */
|
|
201
216
|
roll?: number;
|
|
217
|
+
/** 输入中心点坐标系,默认 WGS84 */
|
|
218
|
+
coordSystem?: CoordSystem;
|
|
202
219
|
}
|
|
203
220
|
/**
|
|
204
221
|
* 天地图图层配置
|
|
205
222
|
*/
|
|
206
223
|
export interface TDTLayerConfig {
|
|
207
|
-
/**
|
|
208
|
-
mapTypeId?:
|
|
224
|
+
/** 天地图子类型:矢量/影像/地形/三维地图 */
|
|
225
|
+
mapTypeId?: TDTMapTypeId;
|
|
209
226
|
/** 天地图 token */
|
|
210
227
|
token: string;
|
|
228
|
+
sk?: string;
|
|
211
229
|
/** 是否显示注记层,默认 true */
|
|
212
230
|
showLabel?: boolean;
|
|
213
231
|
}
|
|
@@ -219,6 +237,7 @@ export interface GaodeLayerConfig {
|
|
|
219
237
|
mapTypeId?: 'vector' | 'satellite' | 'terrain';
|
|
220
238
|
/** 高德 key */
|
|
221
239
|
token?: string;
|
|
240
|
+
sk?: string;
|
|
222
241
|
/** 是否显示注记层,默认 true */
|
|
223
242
|
showLabel?: boolean;
|
|
224
243
|
}
|
|
@@ -230,6 +249,7 @@ export interface BaiduLayerConfig {
|
|
|
230
249
|
mapTypeId?: 'normal' | 'satellite' | 'terrain';
|
|
231
250
|
/** 百度 ak */
|
|
232
251
|
token?: string;
|
|
252
|
+
sk?: string;
|
|
233
253
|
/** 是否显示注记层,默认 true */
|
|
234
254
|
showLabel?: boolean;
|
|
235
255
|
}
|
|
@@ -257,6 +277,19 @@ export interface OSMLayerConfig {
|
|
|
257
277
|
export interface CustomLayerConfig {
|
|
258
278
|
/** 自定义影像图层提供者数组 */
|
|
259
279
|
providers: Cesium.ImageryProvider[];
|
|
280
|
+
type?: 'xyz' | 'wmts' | 'imageryProviders';
|
|
281
|
+
mode?: 'online' | 'offline';
|
|
282
|
+
customUrl?: string;
|
|
283
|
+
urlTemplate?: string;
|
|
284
|
+
rectangle?: BaseMapRectangle;
|
|
285
|
+
minimumLevel?: number;
|
|
286
|
+
maximumLevel?: number;
|
|
287
|
+
credit?: string;
|
|
288
|
+
cameraBounds?: OfflineCameraBoundsConfig;
|
|
289
|
+
wmtsLayer?: string;
|
|
290
|
+
wmtsStyle?: string;
|
|
291
|
+
wmtsFormat?: string;
|
|
292
|
+
tileMatrixSetId?: string;
|
|
260
293
|
}
|
|
261
294
|
/**
|
|
262
295
|
* 图层配置 - 支持多种地图提供商
|
|
@@ -287,6 +320,10 @@ export interface MapPluginOptions {
|
|
|
287
320
|
camera?: CameraConfig;
|
|
288
321
|
/** 图层配置 */
|
|
289
322
|
layers?: LayersConfig;
|
|
323
|
+
/** 新版底图配置 */
|
|
324
|
+
baseMap?: BaseMapConfig;
|
|
325
|
+
/** 多厂商鉴权配置 */
|
|
326
|
+
mapAuth?: MapAuthConfig;
|
|
290
327
|
/** Cesium Ion Token */
|
|
291
328
|
cesiumToken?: string;
|
|
292
329
|
/** 禁飞区初始化配置 */
|
|
@@ -365,7 +402,7 @@ export interface MapToolsConfig {
|
|
|
365
402
|
/** @deprecated 使用 layers.type 代替 */
|
|
366
403
|
mapType?: 'tdt' | 'ion';
|
|
367
404
|
/** @deprecated 使用 layers.tdt.mapTypeId 代替 */
|
|
368
|
-
tdtMapTypeId?:
|
|
405
|
+
tdtMapTypeId?: TDTMapTypeId;
|
|
369
406
|
/** @deprecated 使用 layers.tdt.token 代替 */
|
|
370
407
|
token?: string;
|
|
371
408
|
}
|
|
@@ -437,6 +474,12 @@ export interface OverlayOptions {
|
|
|
437
474
|
material?: Color;
|
|
438
475
|
};
|
|
439
476
|
}
|
|
477
|
+
export interface CoordinateAwareInput {
|
|
478
|
+
coordSystem?: CoordSystem;
|
|
479
|
+
}
|
|
480
|
+
export interface CoordinateAwareOutput {
|
|
481
|
+
outputCoordSystem?: CoordSystem;
|
|
482
|
+
}
|
|
440
483
|
/**
|
|
441
484
|
* 覆盖物位置类型
|
|
442
485
|
*/
|
|
@@ -583,4 +626,4 @@ export interface ComponentStyleConfig {
|
|
|
583
626
|
measurement?: StyleConfig;
|
|
584
627
|
layers?: StyleConfig;
|
|
585
628
|
}
|
|
586
|
-
export type { Cesium };
|
|
629
|
+
export type { Cesium, BaseMapConfig, BaseMapProviderId, MapAuthConfig, MapProviderContext, OfflineCameraBoundsConfig, BaseMapRectangle, CoordSystem, LngLat, };
|
|
@@ -38,6 +38,11 @@ declare const enUS: {
|
|
|
38
38
|
custom_visibility_title: string;
|
|
39
39
|
};
|
|
40
40
|
ui: {
|
|
41
|
+
group: {
|
|
42
|
+
draw: string;
|
|
43
|
+
overlay: string;
|
|
44
|
+
overlay_edit: string;
|
|
45
|
+
};
|
|
41
46
|
draw: {
|
|
42
47
|
line: string;
|
|
43
48
|
area: string;
|
|
@@ -63,6 +68,7 @@ declare const enUS: {
|
|
|
63
68
|
label: string;
|
|
64
69
|
rectangle: string;
|
|
65
70
|
info_window: string;
|
|
71
|
+
info_window_close: string;
|
|
66
72
|
ring: string;
|
|
67
73
|
ring_test: string;
|
|
68
74
|
heatmap: string;
|
|
@@ -97,6 +103,7 @@ declare const enUS: {
|
|
|
97
103
|
vec: string;
|
|
98
104
|
img: string;
|
|
99
105
|
ter: string;
|
|
106
|
+
tdt3d: string;
|
|
100
107
|
};
|
|
101
108
|
};
|
|
102
109
|
measurement: {
|
|
@@ -38,6 +38,11 @@ declare const zhCN: {
|
|
|
38
38
|
custom_visibility_title: string;
|
|
39
39
|
};
|
|
40
40
|
ui: {
|
|
41
|
+
group: {
|
|
42
|
+
draw: string;
|
|
43
|
+
overlay: string;
|
|
44
|
+
overlay_edit: string;
|
|
45
|
+
};
|
|
41
46
|
draw: {
|
|
42
47
|
line: string;
|
|
43
48
|
area: string;
|
|
@@ -63,6 +68,7 @@ declare const zhCN: {
|
|
|
63
68
|
label: string;
|
|
64
69
|
rectangle: string;
|
|
65
70
|
info_window: string;
|
|
71
|
+
info_window_close: string;
|
|
66
72
|
ring: string;
|
|
67
73
|
ring_test: string;
|
|
68
74
|
heatmap: string;
|
|
@@ -97,6 +103,7 @@ declare const zhCN: {
|
|
|
97
103
|
vec: string;
|
|
98
104
|
img: string;
|
|
99
105
|
ter: string;
|
|
106
|
+
tdt3d: string;
|
|
100
107
|
};
|
|
101
108
|
};
|
|
102
109
|
measurement: {
|
|
@@ -5,17 +5,22 @@ export { MapPlugin, createMapPlugin } from './core/MapPlugin';
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated 使用 MapPluginOptions 代替
|
|
7
7
|
*/
|
|
8
|
-
export type { ToolbarConfig, ButtonConfig, CustomButtonConfig, SearchCallback, SearchResult, MeasurementCallback, ZoomCallback, MapType, MapToolsConfig, ComponentStyleConfig, StyleConfig, LayersPanelStyleConfig, SearchPanelStyleConfig, ToolbarSearchMenuOptions, ToolbarLayersMenuOptions, NoFlyZonePluginOptions, MapPluginOptions, CameraConfig, LayersConfig, ProviderType, TDTLayerConfig, GaodeLayerConfig, BaiduLayerConfig, ArcGISLayerConfig, OSMLayerConfig, CustomLayerConfig, } from './core/types';
|
|
8
|
+
export type { ToolbarConfig, ButtonConfig, CustomButtonConfig, SearchCallback, SearchResult, MeasurementCallback, ZoomCallback, MapType, MapToolsConfig, ComponentStyleConfig, StyleConfig, LayersPanelStyleConfig, SearchPanelStyleConfig, ToolbarSearchMenuOptions, ToolbarLayersMenuOptions, NoFlyZonePluginOptions, MapPluginOptions, CameraConfig, LayersConfig, ProviderType, BaseMapConfig, BaseMapProviderId, MapAuthConfig, BaseMapRectangle, OfflineCameraBoundsConfig, CoordSystem, CoordinateAwareInput, CoordinateAwareOutput, TDTLayerConfig, GaodeLayerConfig, BaiduLayerConfig, ArcGISLayerConfig, OSMLayerConfig, CustomLayerConfig, } from './core/types';
|
|
9
9
|
export { BaseOverlay, Marker, Label, Icon, SVG, InfoWindow, Polyline, Polygon, Rectangle, Circle, Ring, } from './core/entities';
|
|
10
10
|
export type { OverlayPosition, BaseOverlayOptions, OverlayClickHighlightOptions, OverlayHoverHighlightOptions, OverlayEntity, MarkerOptions, LabelOptions, IconOptions, SvgOptions, InfoWindowOptions, PolylineOptions, PolygonOptions, RectangleOptions, CircleOptions, RingOptions, } from './core/entities';
|
|
11
11
|
export { OverlayService, DrawService, ToolbarService, createToolbarService } from './core/services';
|
|
12
|
-
export type { OverlayServiceOptions, DrawMode, DrawOptions, DrawResult, DrawServiceOptions, MeasurementFillStyle, MeasurementLabelOffset, MeasurementStrokeStyle, MeasurementSummaryLabelStyle, MeasurementTheme, MeasurementVertexStyle, ToolbarServiceOptions, ToolbarCallbacks, } from './core/services';
|
|
13
|
-
export {
|
|
14
|
-
export
|
|
12
|
+
export type { OverlayServiceOptions, DrawMode, DrawOptions, DrawResult, DrawServiceOptions, MeasurementFillStyle, MeasurementLabelOffset, MeasurementStrokeStyle, MeasurementSummaryLabelStyle, MeasurementTheme, MeasurementVertexStyle, MarkCallbacks, MarkDrawOptions, MarkDrawResult, MarkDrawType, MarkEditOptions, MarkExportItem, MarkServiceOptions, MarkWorkAreaKind, MarkWorkAreaType, ToolbarServiceOptions, ToolbarCallbacks, } from './core/services';
|
|
13
|
+
export { MarkService, MarkToolbar } from './core/services';
|
|
14
|
+
export { PointClusterLayer, setTDTPlugin, createTDTImageryConfig, createTDTVectorConfig, createTDTTerrainConfig, createTDT3DImageryConfig, createTDT3DTerrainProvider, createTDT3DGeoWTFS, hasTDT3DExtension, } from './core/layers';
|
|
15
|
+
export { HeatmapLayer } from './adapters/HeatmapLayerAdapter';
|
|
16
|
+
export { baseMapRegistry } from './core/mapProviders/registry';
|
|
17
|
+
export type { ClusterPoint, ClusterStyleStep, PointClusterLayerOptions, } from './core/layers';
|
|
18
|
+
export type { HeatPoint, HeatmapAutoUpdateOptions, HeatmapGradient, HeatmapOptions, } from './adapters/HeatmapLayerAdapter';
|
|
15
19
|
export { BaseComponent, Toolbar, ToolbarButton, SearchBox, } from './components';
|
|
16
20
|
export { styleManager, initStyleSystem, applyTheme, getCurrentTheme, getAvailableThemes, } from './styles';
|
|
17
21
|
export { i18n } from './i18n';
|
|
18
22
|
export type { I18nLike } from './i18n';
|
|
23
|
+
export { CoordinateService, coordinateService } from './core/mapProviders/coordinates/CoordinateService';
|
|
19
24
|
export { DrawHelperAdapter as DrawHelper } from './adapters/DrawHelperAdapter';
|
|
20
25
|
export type { LegacyDrawCallbacks, LegacyDrawOptions, LegacyDrawEntity, } from './adapters/DrawHelperAdapter';
|
|
21
26
|
export { OverlayServiceAdapter as CesiumOverlayService } from './adapters/OverlayServiceAdapter';
|
|
@@ -24,7 +29,9 @@ export { ToolbarAdapter as CesiumMapToolbar } from './adapters/ToolbarAdapter';
|
|
|
24
29
|
export type { LegacyCesiumMapToolbarCallbacks } from './adapters/ToolbarAdapter';
|
|
25
30
|
export { initCesium } from './adapters/MapLoaderAdapter';
|
|
26
31
|
export type { LegacyInitOptions, LegacyInitResult, LegacyMapCenter } from './adapters/MapLoaderAdapter';
|
|
27
|
-
export {
|
|
32
|
+
export { MapMarkAdapter as CesiumMapMark } from './adapters/MapMarkAdapter';
|
|
33
|
+
export type { CesiumMapMarkOptions } from './adapters/MapMarkAdapter';
|
|
34
|
+
export { DrawHelperAdapter as CompatDrawHelper, OverlayServiceAdapter as CompatCesiumOverlayService, ToolbarAdapter as CompatCesiumMapToolbar, MapMarkAdapter as CompatCesiumMapMark, } from './adapters';
|
|
28
35
|
/**
|
|
29
36
|
* 快速创建地图插件实例
|
|
30
37
|
*/
|