bounds property
Get the location's bounds
Implementation
@override
MPBounds get bounds {
if (_bounds != null) {
return _bounds!;
} else {
switch (_geometry!.runtimeType) {
case MPPolygon:
return _bounds ??= (_geometry as MPPolygon).bounds;
case MPMultiPolygon:
return _bounds ??= (_geometry as MPMultiPolygon).bounds;
default:
return _bounds ??= MPBounds(northeast: position, southwest: position);
}
}
}