TencentLocationCoordinate class

经纬度值对象,三端通用的基础类型。

映射来源

  • Android TencentGeofence.FencePoint(内部类)+ distanceBetween 等方法的入参
  • iOS CLLocationCoordinate2D
  • Harmony TencentGeofencelatitude + longitude 平铺字段

Constructors

TencentLocationCoordinate({required double latitude, required double longitude})
const
TencentLocationCoordinate.fromMap(Map map)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
latitude double
纬度,范围 [-90, 90]
final
longitude double
经度,范围 [-180, 180]
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
toMap() Map<String, Object?>
toString() String
A string representation of this object.
override

Operators

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