/// /** * @public * @since @ray-js/ray 1.2.10 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { chooseLocation } = map; * * chooseLocation({ * success: (result) => { * console.log('chooseLocation success', result); * }, * fail: (error) => { * console.log('chooseLocation fail', error.errorMsg); * }, * }); * ``` */ export declare const chooseLocation: typeof ty.map.chooseLocation; /** * @public * @since @ray-js/ray 1.2.10 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { getLocation } = map; * * getLocation({ * type: 'gcj02', * altitude: false, * isHighAccuracy: false, * highAccuracyExpireTime: 3000, * success: (result) => { * console.log('getLocation success', result); * }, * fail: (error) => { * console.log('getLocation fail', error.errorMsg); * }, * }); * ``` */ export declare const getLocation: typeof ty.map.getLocation; /** * @public * @since @ray-js/ray 1.2.10 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { getMapList } = map; * * getMapList({ * success: (result) => { * console.log('getMapList success', result); * }, * fail: (error) => { * console.log('getMapList fail', error.errorMsg); * }, * }); * ``` */ export declare const getMapList: typeof ty.map.getMapList; /** * @public * @since @ray-js/ray 1.2.10 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { isGeofenceReachLimit } = map; * * isGeofenceReachLimit({ * success: (result) => { * console.log('isGeofenceReachLimit success', result); * }, * fail: (error) => { * console.log('isGeofenceReachLimit fail', error.errorMsg); * }, * }); * ``` */ export declare const isGeofenceReachLimit: typeof ty.map.isGeofenceReachLimit; /** * @public * @since @ray-js/ray 1.2.10 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { openGeofenceMap } = map; * * openGeofenceMap({ * success: () => { * console.log('openGeofenceMap success'); * }, * fail: (error) => { * console.log('openGeofenceMap fail', error.errorMsg); * }, * }); * ``` */ export declare const openGeofenceMap: typeof ty.map.openGeofenceMap; /** * @public * @since @ray-js/ray 1.2.10 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { openMapAppLocation } = map; * * openMapAppLocation({ * latitude: 30.27, * longitude: 120.15, * name: 'example location', * address: 'example address', * mapType: 'MA', * success: () => { * console.log('openMapAppLocation success'); * }, * fail: (error) => { * console.log('openMapAppLocation fail', error.errorMsg); * }, * }); * ``` */ export declare const openMapAppLocation: typeof ty.map.openMapAppLocation; /** * @public * @since @ray-js/ray 1.2.10 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { registerGeofence } = map; * * registerGeofence({ * geoTitle: 'home', * longitude: 120.15, * latitude: 30.27, * radius: 500, * geofenceId: 'fence_001', * type: 0, * success: () => { * console.log('registerGeofence success'); * }, * fail: (error) => { * console.log('registerGeofence fail', error.errorMsg); * }, * }); * ``` */ export declare const registerGeofence: typeof ty.map.registerGeofence; /** * @public * @since @ray-js/ray 1.2.10 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { unregisterGeofence } = map; * * unregisterGeofence({ * geofenceId: 'fence_001', * success: () => { * console.log('unregisterGeofence success'); * }, * fail: (error) => { * console.log('unregisterGeofence fail', error.errorMsg); * }, * }); * ``` */ export declare const unregisterGeofence: typeof ty.map.unregisterGeofence; /** * @public * @since @ray-js/ray 1.2.10 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { updateGeofence } = map; * * updateGeofence({ * registerGeoFence: [{ geofenceId: 'fence_001', longitude: 120.15, latitude: 30.27, radius: 500 }], * unregisterGeoFence: [], * success: (result) => { * console.log('updateGeofence success', result); * }, * fail: (error) => { * console.log('updateGeofence fail', error.errorMsg); * }, * }); * ``` */ export declare const updateGeofence: typeof ty.map.updateGeofence; /** * @public * @since @ray-js/ray 1.4.38 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { transformLocation } = map; * * transformLocation({ * type: 'gcj02', * latitude: 30.27, * longitude: 120.15, * success: (result) => { * console.log('transformLocation success', result); * }, * fail: (error) => { * console.log('transformLocation fail', error.errorMsg); * }, * }); * ``` */ export declare const transformLocation: typeof ty.map.transformLocation; /** * @public * @since @ray-js/ray 1.4.41 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { reverseGeocodeLocation } = map; * * reverseGeocodeLocation({ * longitude: 120.15, * latitude: 30.27, * success: (result) => { * console.log('reverseGeocodeLocation success', result); * }, * fail: (error) => { * console.log('reverseGeocodeLocation fail', error.errorMsg); * }, * }); * ``` */ export declare const reverseGeocodeLocation: typeof ty.map.reverseGeocodeLocation; /** * @public * @since @ray-js/ray 1.4.41 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { coordinateWGS84ToGCJ02 } = map; * * coordinateWGS84ToGCJ02({ * longitude: 120.15, * latitude: 30.27, * success: (result) => { * console.log('coordinateWGS84ToGCJ02 success', result); * }, * fail: (error) => { * console.log('coordinateWGS84ToGCJ02 fail', error.errorMsg); * }, * }); * ``` */ export declare const coordinateWGS84ToGCJ02: typeof ty.map.coordinateWGS84ToGCJ02; /** * @public * @since @ray-js/ray 1.4.41 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { coordinateGCJ02ToWGS84 } = map; * * coordinateGCJ02ToWGS84({ * longitude: 120.15, * latitude: 30.27, * success: (result) => { * console.log('coordinateGCJ02ToWGS84 success', result); * }, * fail: (error) => { * console.log('coordinateGCJ02ToWGS84 fail', error.errorMsg); * }, * }); * ``` */ export declare const coordinateGCJ02ToWGS84: typeof ty.map.coordinateGCJ02ToWGS84; /** * @public * @since @ray-js/ray 1.4.41 * * @example 基础调用 * ```tsx * import { map } from '@ray-js/ray'; * * const { getMapType } = map; * * getMapType({ * success: (result) => { * console.log('getMapType success', result); * }, * fail: (error) => { * console.log('getMapType fail', error.errorMsg); * }, * }); * ``` */ export declare const getMapType: typeof ty.map.getMapType;