Class ProjectionAbstract

GeoPoint 地理坐标.

Hierarchy (view full)

Constructors

Properties

EARTH_BOUNDS: [number, number, number, number] = ...

The equatorial semi perimeter in meters.

EQUATORIAL_SEMIPERIMETER: number = 20037508.3427892

The equatorial semi perimeter in meters.

Methods

  • 墨卡托(epsg:3857)转坐标

    Parameters

    Returns [number, number]

  • 把米转化为距离

    Parameters

    • meter: number

    Returns number

  • 地图地理坐标转经纬度

    Parameters

    Returns [number, number]

  • 坐标转墨卡托(epsg:3857)

    Parameters

    Returns [number, number]

  • 把距离转化为米

    Parameters

    • dist: number

    Returns number

  • 经纬度转墨卡托 .

    Parameters

    Returns [number, number]

  • 墨卡托转经纬度 .

    Parameters

    Returns [number, number]