• 判断是否在国内,不在国内则不做偏移

    Parameters

    • raw_lng: string | number

      经度

    • raw_lat: string | number

      维度

    Returns boolean

    Example

    import { coordTransform } from "@pointcloud/pcloud-utils";
    const outChina = coordTransform.outOfChina(99.123, 10.2144)
    console.log(outChina) // true

Generated using TypeDoc