@bitalltech-maplibre/core 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.
@@ -2,8 +2,8 @@ export { getMaplibreToolsConfig, setMaplibreToolsConfig } from "./config";
2
2
  export type { MaplibreToolsConfig } from "./config";
3
3
  export { BASE_MAP_TYPES, getBaseMapStyle, getOpenFreeMapStyle, OPENFREEMAP_STYLE_BASE_URL, OPENFREEMAP_STYLES, OPENFREEMAP_STYLE_TYPES, isBaseMapType, setBaseMap, TDT_STYLE_TYPES, createTiandituImageStyle, createTiandituRasterSource, } from "./basemaps";
4
4
  export type { BaseMapOptions, BaseMapType, OpenFreeMapStyleConfig, OpenFreeMapStyleType, TiandituLayerType, TiandituOptions, TiandituStyleOptions, } from "./basemaps";
5
- export { addDirectionalPulse, addPulseMarker, addRingPulseMarker, addRadarSweep, addSectorScan, } from "./effects";
6
- export type { DirectionalPulseOptions, MapEffectController, PulseMarkerOptions, RingPulseMarkerOptions, RadarSweepOptions, SectorScanOptions, } from "./effects";
5
+ export { addBreachAlert, addBreathingCircle, addCountermeasureBeam, addCoordinatedCountermeasure, addDefenceCircle, addDirectionalPulse, addNavigationSpoofing, addPulseMarker, addRingPulseMarker, addRadarSweep, addSectorScan, addTargetLock, createFenceCircle, } from "./effects";
6
+ export type { BreachAlertController, BreachAlertOptions, BreathingCircleOptions, CountermeasureBeamOptions, CoordinatedCountermeasureOptions, CoordinationLink, CoordinationLinkType, DefenceCircleOptions, DirectionalPulseOptions, FenceGeometry, MapEffectController, NavigationSpoofingOptions, PulseMarkerOptions, RingPulseMarkerOptions, RadarSweepOptions, SectorScanOptions, TargetLockOptions, } from "./effects";
7
7
  export { createMap, maplibregl } from "./map";
8
8
  export type { CreateMapOptions } from "./map";
9
9
  export type { GeoJSONSourceSpecification, LayerSpecification, Map, MapOptions, RasterSourceSpecification, SourceSpecification, StyleSpecification, } from "maplibre-gl";
@@ -7,5 +7,9 @@ export interface CreateMapOptions extends Omit<MapOptions, "container" | "style"
7
7
  /** 只在使用天地图底图时需要;优先级高于全局配置。 */
8
8
  tdtToken?: string;
9
9
  }
10
+ /**
11
+ * 创建 MapLibre 地图实例。
12
+ * 该方法只负责解析内置底图别名,不包裹 MapLibre 原始能力,业务仍可传入标准 MapOptions。
13
+ */
10
14
  export declare const createMap: (options: CreateMapOptions) => Map;
11
15
  export { maplibregl };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitalltech-maplibre/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "BitAllTech MapLibre 业务组件核心包",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",