expandedBy method - GeoBox class - core library - Dart API
expandedBy
expandedBy method
- double southMeters,
- double westMeters,
- double northMeters,
- double eastMeters,
Creates a GeoBox which is expanded by a fixed distance.
Throws an InstantiationError if it is not possible to create a valid
GeoBox with the given arguments.
-
southMetersDistance in the south direction in meters to expand theGeoBox. -
westMetersDistance in the west direction in meters to expand theGeoBox. -
northMetersDistance in the north direction in meters to expand theGeoBox. -
eastMetersDistance in the east direction in meters to expand theGeoBox.
Returns GeoBox. The expanded GeoBox.
Throws InstantiationException. Instantiation error.
Implementation
GeoBox expandedBy(double southMeters, double westMeters, double northMeters, double eastMeters) => $prototype.expandedBy(this, southMeters, westMeters, northMeters, eastMeters);