GpsUtil class

Constructors

GpsUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

bd09_To_Gcj02(num lat, num lon) List<num>
  • 火星坐标系 (GCJ-02) 与百度坐标系 (BD-09) 的转换算法 * * 将 BD-09 坐标转换成GCJ-02 坐标 @param lat @param lon @return
  • bd09_To_gps84(num lat, num lon) List<num>
    gcj02_To_Bd09(num lat, num lon) List<num>
    火星坐标系 (GCJ-02) 与百度坐标系 (BD-09) 的转换算法 将 GCJ-02 坐标转换成 BD-09 坐标
    gcj02_To_Gps84(num lat, num lon) List<num>
  • 火星坐标系 (GCJ-02) to 84 * * @param lon * @param lat * @return
  • gps84_To_bd09(num lat, num lon) List<num>
    将gps84转为bd09
    gps84_To_Gcj02(num lat, num lon) List<num>
    84 to 火星坐标系 (GCJ-02) World Geodetic System ==> Mars Geodetic System
    outOfChina(num lat, num lon) bool
    retain6(num n) num
    保留小数点后六位
    transform(num lat, num lon) List<num>
    transformLat(num x, num y) num
    transformLon(num x, num y) num

    Constants

    a → const num
    ee → const num
    pi → const num
    x_pi → const num