LatLngBounds constructor
使用传入的西南角坐标southwest
和东北角坐标northeast
创建一个矩形区域.
Implementation
LatLngBounds({required this.southwest, required this.northeast}) {
try {
assert(southwest.latitude <= northeast.latitude,
'西南角纬度超过了东北角纬度(${southwest.latitude} > ${northeast.latitude})');
} catch (e) {
debugPrint(e.toString());
}
}