zoomToSpan abstract method
Future<void>
zoomToSpan(
- List<
LatLng> bounds, { - EdgeInsets padding = const EdgeInsets.all(50),
- bool animated = true,
将指定的经纬度列表(包括但不限于marker, polyline, polygon等)调整至同一屏幕中显示
bounds
边界点形成的边界, padding
地图内边距
Implementation
Future<void> zoomToSpan(
List<LatLng> bounds, {
EdgeInsets padding = const EdgeInsets.all(50),
bool animated = true,
});