LatLngBounds class

经纬度对齐的矩形.

Constructors

LatLngBounds({required LatLng southwest, required LatLng northeast})
使用传入的西南角坐标southwest和东北角坐标northeast创建一个矩形区域.

Properties

hashCode int
The hash code for this object.
no setteroverride
northeast LatLng
东北角坐标.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
southwest LatLng
西南角坐标.
final

Methods

contains(LatLng point) bool
判断矩形区域是否包含传入的经纬度point.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → dynamic
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromList(dynamic json) LatLngBounds?