@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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Map as MaplibreMap, LngLat, GeoJSONFeature, LngLatLike, FilterSpecification } from 'maplibre-gl';
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
- sourceId: string,
454
- featureFilter: FilterSpecification,
455
- featureType?: 'line' | 'point',
453
+ code: string,
454
+ layerType: LayerType,
456
455
  options?: {
457
456
  duration?: number;
458
457
  blinkSpeed?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teeechina/teee-map",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "",
5
5
  "main": "dist/teee-map.umd.js",
6
6
  "module": "dist/teee-map.mjs",