LatLng class

经纬度坐标对象, 单位为度.

Implementers

Constructors

LatLng(double latitude, double longitude)
根据纬度latitude和经度longitude创建经纬度对象
const

Properties

hashCode int
The hash code for this object.
no setteroverride
latitude double
纬度
final
longitude double
经度
final
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
toJson() → dynamic
toJsonMap() → dynamic
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(dynamic json) LatLng?
根据传入的经纬度数组 [lat, lng] 序列化一个LatLng对象.