map-ol-utils 0.1.27 → 0.1.29

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/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Layer, Tile } from 'ol/layer';
2
2
  import { Style } from 'ol/style';
3
- import { Map as Map$1, Feature, Overlay } from 'ol';
3
+ import { Map as Map$1, Overlay, Feature } from 'ol';
4
4
  import { CRSTypes } from 'gcoord';
5
5
  import * as ol_source from 'ol/source';
6
6
  import { Source, XYZ, WMTS } from 'ol/source';
@@ -9,15 +9,15 @@ import { FeatureLike } from 'ol/Feature';
9
9
  import { Emitter, EventType } from 'mitt';
10
10
  import TileLayer from 'ol/layer/Tile';
11
11
  import * as ol_renderer_Layer from 'ol/renderer/Layer';
12
- import * as ol_geom from 'ol/geom';
13
- import { Point, SimpleGeometry } from 'ol/geom';
14
12
  import { Options } from 'ol/Overlay';
15
- import Cluster from 'ol/source/Cluster';
16
- import { Select } from 'ol/interaction';
17
13
  import VectorLayer from 'ol/layer/Vector';
18
- import { StyleLike } from 'ol/style/Style';
19
- import VectorSource from 'ol/source/Vector';
14
+ import * as ol_geom from 'ol/geom';
15
+ import { SimpleGeometry, Point } from 'ol/geom';
20
16
  import { FitOptions, AnimationOptions } from 'ol/View';
17
+ import { Select } from 'ol/interaction';
18
+ import VectorSource from 'ol/source/Vector';
19
+ import { StyleLike } from 'ol/style/Style';
20
+ import Cluster from 'ol/source/Cluster';
21
21
 
22
22
  interface CustomMap extends Map$1 {
23
23
  activeBaseLayer?: string;
@@ -147,7 +147,9 @@ declare const createZheJiangLayer: (layerName?: ZheJiangType, tk?: string) => Ti
147
147
  * 根据图层名称获取图层
148
148
  * @param name
149
149
  */
150
- declare const getLayerByName: (name: string) => Layer<ol_source.Source, ol_renderer_Layer.default<any>> | undefined;
150
+ declare const getLayerByName: (name: string) => Layer<ol_source.Source, ol_renderer_Layer.default<any>, {
151
+ [x: string]: any;
152
+ }> | undefined;
151
153
  /**
152
154
  * 根据图层名称删除图层
153
155
  * @param name
@@ -165,101 +167,154 @@ declare const resetMap: (config?: {
165
167
  isClearAll: boolean;
166
168
  }) => void;
167
169
 
170
+ /**
171
+ * 移除带指定属性键的 Overlay(默认按 'position')
172
+ * @param key
173
+ */
168
174
  declare const removeOverlays: (key?: string) => void;
175
+ /**
176
+ * 创建动画标注 Overlay
177
+ * @param imgUrl
178
+ * @param data
179
+ */
169
180
  declare const createAnimationMarker: (imgUrl: string, data: MassData) => void;
170
181
  /**
171
- * 重置激活的矢量数据
182
+ * 创建 Overlay
183
+ * @param config
172
184
  */
173
- declare const resetActiveVector: () => void;
185
+ declare const createOverlay: (config?: Options) => Overlay;
186
+
174
187
  /**
175
- * 根据Array<Coordinate> Fit
188
+ * 根据 Array<Coordinate> Fit
176
189
  * @param coords
177
190
  * @param mapInstance
178
191
  * @param fitOptions
179
192
  */
180
193
  declare const setFitViewByCoords: (coords: Array<Coordinate>, mapInstance?: CustomMap, fitOptions?: FitOptions | AnimationOptions) => void;
181
194
  /**
182
- * 根据SimpleGeometry Fit
195
+ * 根据 SimpleGeometry Fit
183
196
  * @param geom
184
197
  * @param mapInstance
185
198
  * @param fitOptions
186
199
  */
187
200
  declare const setFitViewByGeom: (geom: SimpleGeometry, mapInstance?: CustomMap, fitOptions?: FitOptions) => void;
188
201
  /**
189
- * 根据VectorLayer要素的四至信息Fit
202
+ * 根据 VectorLayer 要素的四至信息 Fit
190
203
  * @param layer
191
204
  * @param mapInstance
192
205
  * @param fitOptions
193
206
  */
194
207
  declare const setFitViewByLayer: (layer: VectorLayer, mapInstance?: CustomMap, fitOptions?: FitOptions) => void;
195
- declare const createBusinessLayer: (dataList: MassData[], config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry>>, Feature<ol_geom.Geometry>>;
208
+
209
+ /**
210
+ * 创建点击交互
211
+ * @param vectorLayer
212
+ */
213
+ declare const createSelectByLayer: (vectorLayer: VectorLayer) => Select;
214
+
215
+ /**
216
+ * 重置激活的矢量数据(清空 overlay 与各图层选择交互的要素集合)
217
+ */
218
+ declare const resetActiveVector: () => void;
219
+ /**
220
+ * 移除覆盖物以及所有非底图自定义图层
221
+ */
222
+ declare const removeAllLayers: () => void;
223
+ /**
224
+ * 重置激活 Feature
225
+ */
226
+ declare const resetActiveFeature: () => void;
196
227
  /**
197
- * 追加Features
228
+ * 按 _uuid 激活要素
229
+ * @param uid
230
+ */
231
+ declare const activeFeatureByUid: (uid: string) => void;
232
+
233
+ /**
234
+ * 创建业务矢量图层(自动推断线/面,生成默认/激活样式)
235
+ * @param dataList
236
+ * @param config
237
+ */
238
+ declare const createBusinessLayer: (dataList: MassData[], config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry, {
239
+ [x: string]: any;
240
+ }>>, Feature<ol_geom.Geometry, {
241
+ [x: string]: any;
242
+ }>>;
243
+ /**
244
+ * 追加 Features
198
245
  * @param targetLayer
199
246
  * @param dataList
200
247
  * @param crsForm
201
248
  */
202
249
  declare const appendFeaturesByLayer: (targetLayer: VectorLayer, dataList: MassData[], crsForm?: CRSTypes) => void;
203
250
  /**
204
- * 创建面状数据
251
+ * 创建面状图层
205
252
  * @param dataList
206
253
  * @param config
207
254
  */
208
- declare const createVectorFaceLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry>>, Feature<ol_geom.Geometry>>;
255
+ declare const createVectorFaceLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry, {
256
+ [x: string]: any;
257
+ }>>, Feature<ol_geom.Geometry, {
258
+ [x: string]: any;
259
+ }>>;
209
260
  /**
210
261
  * 创建矢量线图层
211
262
  * @param dataList
212
263
  * @param config
213
264
  */
214
- declare const createVectorLineLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry>>, Feature<ol_geom.Geometry>>;
215
- /**
216
- * 移除覆盖物以及自定义图层
217
- */
218
- declare const removeAllLayers: () => void;
219
- /**
220
- * 重置激活Feature
221
- */
222
- declare const resetActiveFeature: () => void;
223
- /**
224
- * 激活要素
225
- * @param uid
226
- */
227
- declare const activeFeatureByUid: (uid: string) => void;
265
+ declare const createVectorLineLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry, {
266
+ [x: string]: any;
267
+ }>>, Feature<ol_geom.Geometry, {
268
+ [x: string]: any;
269
+ }>>;
270
+
228
271
  /**
229
- * 构建MassMarks样式数组
272
+ * 构建 MassMarks 样式数组(默认段 + 激活段,长度 statusNum * 2)
230
273
  */
231
274
  declare const buildMassMarksStyles: (getImgUrlFn: GetImgUrlFn) => (iconConfig: IconConfig) => any[];
232
275
  /**
233
- * 创建点击交互
234
- * @param vectorLayer
276
+ * 向海量点图层增量添加 Features
277
+ * @param targetLayer
278
+ * @param dataList
279
+ * @param config
235
280
  */
236
- declare const createSelectByLayer: (vectorLayer: VectorLayer) => Select;
281
+ declare const addFeaturesByLayer: (targetLayer: VectorLayer, dataList: MassData[], config: {
282
+ clear?: boolean;
283
+ }) => void;
237
284
  /**
238
- * 创建massMarksLayer
285
+ * 创建 massMarksLayer
239
286
  * @param dataList
240
287
  * @param styleList
241
288
  */
242
- declare const createMassMarksLayer: (dataList: MassData[], styleList?: StyleLike[]) => VectorLayer<VectorSource<Feature<Point>>, Feature<Point>>;
289
+ declare const createMassMarksLayer: (dataList: MassData[], styleList?: StyleLike[]) => VectorLayer<VectorSource<Feature<Point, {
290
+ [x: string]: any;
291
+ }>>, Feature<Point, {
292
+ [x: string]: any;
293
+ }>>;
243
294
  /**
244
- * 添加massMarksLayer
295
+ * 添加 massMarksLayer(按需附带线/面图层)
245
296
  * @param getImgUrlFn
246
297
  */
247
- declare const addMassMarksLayer: (getImgUrlFn: GetImgUrlFn) => (dataList: never[] | undefined, iconConfig: IconConfig, openClick?: boolean) => VectorLayer<VectorSource<Feature<Point>>, Feature<Point>>;
298
+ declare const addMassMarksLayer: (getImgUrlFn: GetImgUrlFn) => (dataList: never[] | undefined, iconConfig: IconConfig, openClick?: boolean) => VectorLayer<VectorSource<Feature<Point, {
299
+ [x: string]: any;
300
+ }>>, Feature<Point, {
301
+ [x: string]: any;
302
+ }>>;
248
303
  /**
249
- * 更新图层根据选中状态列表
304
+ * 按选中状态列表更新海量点显隐
250
305
  * @param checkedStatusList
251
306
  */
252
307
  declare const updateMarksLayersByStatus: (checkedStatusList?: string[]) => MassData[];
308
+
253
309
  /**
254
- * 创建Overlay
255
- * @param config
256
- */
257
- declare const createOverlay: (config?: Options) => Overlay;
258
- /**
259
- * 创建聚合图层
310
+ * 创建聚合图层(半径/颜色随聚合数量动态计算)
260
311
  * @param dataList
261
312
  * @param config
262
313
  */
263
- declare const createClusterLayer: (dataList: ClusterData[], config: ClusterConfig) => VectorLayer<Cluster<Feature<Point>>, Feature<ol_geom.Geometry>>;
314
+ declare const createClusterLayer: (dataList: ClusterData[], config: ClusterConfig) => VectorLayer<Cluster<Feature<Point, {
315
+ [x: string]: any;
316
+ }>>, Feature<ol_geom.Geometry, {
317
+ [x: string]: any;
318
+ }>>;
264
319
 
265
- export { type ClusterConfig, type ClusterData, type CustomMap, type GeometryCoordinates, GeometryType, type GetImgUrl, type GetImgUrlFn, type HzsyType, type IconConfig, type MassData, type VectorConfig, type WmtsSourceOptions, type WorldLayerType, type ZheJiangType, activeFeatureByUid, addMassMarksLayer, appendFeaturesByLayer, buildMassMarksStyles, createAnimationMarker, createBaseLayer, createBusinessLayer, createClusterLayer, createMap, createMapInstance, createMapWorldLayer, createMassMarksLayer, createOverlay, createSelectByLayer, createVectorFaceLayer, createVectorLineLayer, createWmtsLayer, createZheJiangLayer, disposeMap, emitter, getLayerByName, getLayersDataList, getMapInstance, instance, removeAllLayers, removeLayerByName, removeOverlays, resetActiveFeature, resetActiveVector, resetMap, resetZoomAndCenter, setFitViewByCoords, setFitViewByGeom, setFitViewByLayer, updateMarksLayersByStatus };
320
+ export { type ClusterConfig, type ClusterData, type CustomMap, type GeometryCoordinates, GeometryType, type GetImgUrl, type GetImgUrlFn, type HzsyType, type IconConfig, type MassData, type VectorConfig, type WmtsSourceOptions, type WorldLayerType, type ZheJiangType, activeFeatureByUid, addFeaturesByLayer, addMassMarksLayer, appendFeaturesByLayer, buildMassMarksStyles, createAnimationMarker, createBaseLayer, createBusinessLayer, createClusterLayer, createMap, createMapInstance, createMapWorldLayer, createMassMarksLayer, createOverlay, createSelectByLayer, createVectorFaceLayer, createVectorLineLayer, createWmtsLayer, createZheJiangLayer, disposeMap, emitter, getLayerByName, getLayersDataList, getMapInstance, instance, removeAllLayers, removeLayerByName, removeOverlays, resetActiveFeature, resetActiveVector, resetMap, resetZoomAndCenter, setFitViewByCoords, setFitViewByGeom, setFitViewByLayer, updateMarksLayersByStatus };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Layer, Tile } from 'ol/layer';
2
2
  import { Style } from 'ol/style';
3
- import { Map as Map$1, Feature, Overlay } from 'ol';
3
+ import { Map as Map$1, Overlay, Feature } from 'ol';
4
4
  import { CRSTypes } from 'gcoord';
5
5
  import * as ol_source from 'ol/source';
6
6
  import { Source, XYZ, WMTS } from 'ol/source';
@@ -9,15 +9,15 @@ import { FeatureLike } from 'ol/Feature';
9
9
  import { Emitter, EventType } from 'mitt';
10
10
  import TileLayer from 'ol/layer/Tile';
11
11
  import * as ol_renderer_Layer from 'ol/renderer/Layer';
12
- import * as ol_geom from 'ol/geom';
13
- import { Point, SimpleGeometry } from 'ol/geom';
14
12
  import { Options } from 'ol/Overlay';
15
- import Cluster from 'ol/source/Cluster';
16
- import { Select } from 'ol/interaction';
17
13
  import VectorLayer from 'ol/layer/Vector';
18
- import { StyleLike } from 'ol/style/Style';
19
- import VectorSource from 'ol/source/Vector';
14
+ import * as ol_geom from 'ol/geom';
15
+ import { SimpleGeometry, Point } from 'ol/geom';
20
16
  import { FitOptions, AnimationOptions } from 'ol/View';
17
+ import { Select } from 'ol/interaction';
18
+ import VectorSource from 'ol/source/Vector';
19
+ import { StyleLike } from 'ol/style/Style';
20
+ import Cluster from 'ol/source/Cluster';
21
21
 
22
22
  interface CustomMap extends Map$1 {
23
23
  activeBaseLayer?: string;
@@ -147,7 +147,9 @@ declare const createZheJiangLayer: (layerName?: ZheJiangType, tk?: string) => Ti
147
147
  * 根据图层名称获取图层
148
148
  * @param name
149
149
  */
150
- declare const getLayerByName: (name: string) => Layer<ol_source.Source, ol_renderer_Layer.default<any>> | undefined;
150
+ declare const getLayerByName: (name: string) => Layer<ol_source.Source, ol_renderer_Layer.default<any>, {
151
+ [x: string]: any;
152
+ }> | undefined;
151
153
  /**
152
154
  * 根据图层名称删除图层
153
155
  * @param name
@@ -165,101 +167,154 @@ declare const resetMap: (config?: {
165
167
  isClearAll: boolean;
166
168
  }) => void;
167
169
 
170
+ /**
171
+ * 移除带指定属性键的 Overlay(默认按 'position')
172
+ * @param key
173
+ */
168
174
  declare const removeOverlays: (key?: string) => void;
175
+ /**
176
+ * 创建动画标注 Overlay
177
+ * @param imgUrl
178
+ * @param data
179
+ */
169
180
  declare const createAnimationMarker: (imgUrl: string, data: MassData) => void;
170
181
  /**
171
- * 重置激活的矢量数据
182
+ * 创建 Overlay
183
+ * @param config
172
184
  */
173
- declare const resetActiveVector: () => void;
185
+ declare const createOverlay: (config?: Options) => Overlay;
186
+
174
187
  /**
175
- * 根据Array<Coordinate> Fit
188
+ * 根据 Array<Coordinate> Fit
176
189
  * @param coords
177
190
  * @param mapInstance
178
191
  * @param fitOptions
179
192
  */
180
193
  declare const setFitViewByCoords: (coords: Array<Coordinate>, mapInstance?: CustomMap, fitOptions?: FitOptions | AnimationOptions) => void;
181
194
  /**
182
- * 根据SimpleGeometry Fit
195
+ * 根据 SimpleGeometry Fit
183
196
  * @param geom
184
197
  * @param mapInstance
185
198
  * @param fitOptions
186
199
  */
187
200
  declare const setFitViewByGeom: (geom: SimpleGeometry, mapInstance?: CustomMap, fitOptions?: FitOptions) => void;
188
201
  /**
189
- * 根据VectorLayer要素的四至信息Fit
202
+ * 根据 VectorLayer 要素的四至信息 Fit
190
203
  * @param layer
191
204
  * @param mapInstance
192
205
  * @param fitOptions
193
206
  */
194
207
  declare const setFitViewByLayer: (layer: VectorLayer, mapInstance?: CustomMap, fitOptions?: FitOptions) => void;
195
- declare const createBusinessLayer: (dataList: MassData[], config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry>>, Feature<ol_geom.Geometry>>;
208
+
209
+ /**
210
+ * 创建点击交互
211
+ * @param vectorLayer
212
+ */
213
+ declare const createSelectByLayer: (vectorLayer: VectorLayer) => Select;
214
+
215
+ /**
216
+ * 重置激活的矢量数据(清空 overlay 与各图层选择交互的要素集合)
217
+ */
218
+ declare const resetActiveVector: () => void;
219
+ /**
220
+ * 移除覆盖物以及所有非底图自定义图层
221
+ */
222
+ declare const removeAllLayers: () => void;
223
+ /**
224
+ * 重置激活 Feature
225
+ */
226
+ declare const resetActiveFeature: () => void;
196
227
  /**
197
- * 追加Features
228
+ * 按 _uuid 激活要素
229
+ * @param uid
230
+ */
231
+ declare const activeFeatureByUid: (uid: string) => void;
232
+
233
+ /**
234
+ * 创建业务矢量图层(自动推断线/面,生成默认/激活样式)
235
+ * @param dataList
236
+ * @param config
237
+ */
238
+ declare const createBusinessLayer: (dataList: MassData[], config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry, {
239
+ [x: string]: any;
240
+ }>>, Feature<ol_geom.Geometry, {
241
+ [x: string]: any;
242
+ }>>;
243
+ /**
244
+ * 追加 Features
198
245
  * @param targetLayer
199
246
  * @param dataList
200
247
  * @param crsForm
201
248
  */
202
249
  declare const appendFeaturesByLayer: (targetLayer: VectorLayer, dataList: MassData[], crsForm?: CRSTypes) => void;
203
250
  /**
204
- * 创建面状数据
251
+ * 创建面状图层
205
252
  * @param dataList
206
253
  * @param config
207
254
  */
208
- declare const createVectorFaceLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry>>, Feature<ol_geom.Geometry>>;
255
+ declare const createVectorFaceLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry, {
256
+ [x: string]: any;
257
+ }>>, Feature<ol_geom.Geometry, {
258
+ [x: string]: any;
259
+ }>>;
209
260
  /**
210
261
  * 创建矢量线图层
211
262
  * @param dataList
212
263
  * @param config
213
264
  */
214
- declare const createVectorLineLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry>>, Feature<ol_geom.Geometry>>;
215
- /**
216
- * 移除覆盖物以及自定义图层
217
- */
218
- declare const removeAllLayers: () => void;
219
- /**
220
- * 重置激活Feature
221
- */
222
- declare const resetActiveFeature: () => void;
223
- /**
224
- * 激活要素
225
- * @param uid
226
- */
227
- declare const activeFeatureByUid: (uid: string) => void;
265
+ declare const createVectorLineLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<ol_geom.Geometry, {
266
+ [x: string]: any;
267
+ }>>, Feature<ol_geom.Geometry, {
268
+ [x: string]: any;
269
+ }>>;
270
+
228
271
  /**
229
- * 构建MassMarks样式数组
272
+ * 构建 MassMarks 样式数组(默认段 + 激活段,长度 statusNum * 2)
230
273
  */
231
274
  declare const buildMassMarksStyles: (getImgUrlFn: GetImgUrlFn) => (iconConfig: IconConfig) => any[];
232
275
  /**
233
- * 创建点击交互
234
- * @param vectorLayer
276
+ * 向海量点图层增量添加 Features
277
+ * @param targetLayer
278
+ * @param dataList
279
+ * @param config
235
280
  */
236
- declare const createSelectByLayer: (vectorLayer: VectorLayer) => Select;
281
+ declare const addFeaturesByLayer: (targetLayer: VectorLayer, dataList: MassData[], config: {
282
+ clear?: boolean;
283
+ }) => void;
237
284
  /**
238
- * 创建massMarksLayer
285
+ * 创建 massMarksLayer
239
286
  * @param dataList
240
287
  * @param styleList
241
288
  */
242
- declare const createMassMarksLayer: (dataList: MassData[], styleList?: StyleLike[]) => VectorLayer<VectorSource<Feature<Point>>, Feature<Point>>;
289
+ declare const createMassMarksLayer: (dataList: MassData[], styleList?: StyleLike[]) => VectorLayer<VectorSource<Feature<Point, {
290
+ [x: string]: any;
291
+ }>>, Feature<Point, {
292
+ [x: string]: any;
293
+ }>>;
243
294
  /**
244
- * 添加massMarksLayer
295
+ * 添加 massMarksLayer(按需附带线/面图层)
245
296
  * @param getImgUrlFn
246
297
  */
247
- declare const addMassMarksLayer: (getImgUrlFn: GetImgUrlFn) => (dataList: never[] | undefined, iconConfig: IconConfig, openClick?: boolean) => VectorLayer<VectorSource<Feature<Point>>, Feature<Point>>;
298
+ declare const addMassMarksLayer: (getImgUrlFn: GetImgUrlFn) => (dataList: never[] | undefined, iconConfig: IconConfig, openClick?: boolean) => VectorLayer<VectorSource<Feature<Point, {
299
+ [x: string]: any;
300
+ }>>, Feature<Point, {
301
+ [x: string]: any;
302
+ }>>;
248
303
  /**
249
- * 更新图层根据选中状态列表
304
+ * 按选中状态列表更新海量点显隐
250
305
  * @param checkedStatusList
251
306
  */
252
307
  declare const updateMarksLayersByStatus: (checkedStatusList?: string[]) => MassData[];
308
+
253
309
  /**
254
- * 创建Overlay
255
- * @param config
256
- */
257
- declare const createOverlay: (config?: Options) => Overlay;
258
- /**
259
- * 创建聚合图层
310
+ * 创建聚合图层(半径/颜色随聚合数量动态计算)
260
311
  * @param dataList
261
312
  * @param config
262
313
  */
263
- declare const createClusterLayer: (dataList: ClusterData[], config: ClusterConfig) => VectorLayer<Cluster<Feature<Point>>, Feature<ol_geom.Geometry>>;
314
+ declare const createClusterLayer: (dataList: ClusterData[], config: ClusterConfig) => VectorLayer<Cluster<Feature<Point, {
315
+ [x: string]: any;
316
+ }>>, Feature<ol_geom.Geometry, {
317
+ [x: string]: any;
318
+ }>>;
264
319
 
265
- export { type ClusterConfig, type ClusterData, type CustomMap, type GeometryCoordinates, GeometryType, type GetImgUrl, type GetImgUrlFn, type HzsyType, type IconConfig, type MassData, type VectorConfig, type WmtsSourceOptions, type WorldLayerType, type ZheJiangType, activeFeatureByUid, addMassMarksLayer, appendFeaturesByLayer, buildMassMarksStyles, createAnimationMarker, createBaseLayer, createBusinessLayer, createClusterLayer, createMap, createMapInstance, createMapWorldLayer, createMassMarksLayer, createOverlay, createSelectByLayer, createVectorFaceLayer, createVectorLineLayer, createWmtsLayer, createZheJiangLayer, disposeMap, emitter, getLayerByName, getLayersDataList, getMapInstance, instance, removeAllLayers, removeLayerByName, removeOverlays, resetActiveFeature, resetActiveVector, resetMap, resetZoomAndCenter, setFitViewByCoords, setFitViewByGeom, setFitViewByLayer, updateMarksLayersByStatus };
320
+ export { type ClusterConfig, type ClusterData, type CustomMap, type GeometryCoordinates, GeometryType, type GetImgUrl, type GetImgUrlFn, type HzsyType, type IconConfig, type MassData, type VectorConfig, type WmtsSourceOptions, type WorldLayerType, type ZheJiangType, activeFeatureByUid, addFeaturesByLayer, addMassMarksLayer, appendFeaturesByLayer, buildMassMarksStyles, createAnimationMarker, createBaseLayer, createBusinessLayer, createClusterLayer, createMap, createMapInstance, createMapWorldLayer, createMassMarksLayer, createOverlay, createSelectByLayer, createVectorFaceLayer, createVectorLineLayer, createWmtsLayer, createZheJiangLayer, disposeMap, emitter, getLayerByName, getLayersDataList, getMapInstance, instance, removeAllLayers, removeLayerByName, removeOverlays, resetActiveFeature, resetActiveVector, resetMap, resetZoomAndCenter, setFitViewByCoords, setFitViewByGeom, setFitViewByLayer, updateMarksLayersByStatus };