@teeechina/teee-map 0.0.24 → 0.0.25
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/teee-map.mjs +4614 -3781
- package/dist/teee-map.umd.js +41 -41
- package/index.d.ts +3 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Map as MaplibreMap, LngLat, GeoJSONFeature
|
|
1
|
+
import type { Map as MaplibreMap, LngLat, GeoJSONFeature } from 'maplibre-gl';
|
|
2
2
|
import type { LayerSpecification, SourceSpecification } from 'maplibre-gl';
|
|
3
3
|
import type { FeatureCollection } from 'geojson';
|
|
4
4
|
|
|
@@ -450,9 +450,8 @@ export declare class TeeeMap {
|
|
|
450
450
|
locateFeatureByCode(code: string, layerType: LayerType): void;
|
|
451
451
|
/** 平滑闪烁高亮指定要素,返回清理函数用于提前终止动画 */
|
|
452
452
|
smoothBlinkFeature(
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
featureType?: 'line' | 'point',
|
|
453
|
+
code: string,
|
|
454
|
+
layerType: LayerType,
|
|
456
455
|
options?: {
|
|
457
456
|
duration?: number;
|
|
458
457
|
blinkSpeed?: number;
|