/**
 * gis-frame-work — GIS地图框架工具集
 * ==========================================
 * 统一入口，按模块导出所有功能
 *
 * 使用方式：
 *   import { createMapboxUtils, createMapgisUtils, mapboxNative, mapgisUtil } from 'gis-frame-work';
 *
 * 外部注入使用方式：
 *   import { createMapboxUtils, createMapgisUtils } from 'gis-frame-work';
 *   const mapboxUtils = createMapboxUtils({ mapConfig, sourcesData, styles, tokenUtils, images });
 *   const mapgisUtils = createMapgisUtils({ mapConfig, sourcesData, styles, tokenUtils, images });
 *
 * 或按路径引用：
 *   import mapboxUtil from 'gis-frame-work/mapboxgl/utils/mapbox';
 *   import MapboxNative from 'gis-frame-work/mapboxgl/utils/mapbox_native';
 */

// ==================== MapboxGL 工具 ====================
export { createMapboxUtils } from './mapboxgl/utils/mapbox';
export { default as mapboxNative } from './mapboxgl/utils/mapbox_native';

// ==================== MapGIS 工具 ====================
export { createMapgisUtils } from './mapgis/utils/mapgis-common';
export {
    createLayer,
    getDataLayers,
    removeLayerFromManager,
    clearLayers,
} from './mapgis/js/datalayer';