LatLngBounds class
经纬度对齐的矩形.
Constructors
- LatLngBounds({required LatLng southwest, required LatLng northeast})
-
使用传入的西南角坐标
southwest
和东北角坐标northeast
创建一个矩形区域.
Properties
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?