ViewBox class

Inheritance

Constructors

ViewBox(LatLng southWest, LatLng northEast, [bool bounded = false])

Properties

bounded bool
final
center LatLng
Obtain coordinates of the bounds center
no setterinherited
east double
Obtain east edge of the bounds
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
north double
Obtain north edge of the bounds
no setterinherited
northEast LatLng
Obtain coordinates of northeast corner of the bounds
no setterinherited
northWest LatLng
Obtain coordinates of northwest corner of the bounds
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
south double
Obtain south edge of the bounds
no setterinherited
southEast LatLng
Obtain coordinates of southeast corner of the bounds
no setterinherited
southWest LatLng
Obtain coordinates of southwest corner of the bounds
no setterinherited
west double
Obtain west edge of the bounds
no setterinherited

Methods

contains(LatLng point) bool
Checks whether point is inside bounds
inherited
containsBounds(LatLngBounds bounds) bool
Checks whether bounds is contained inside bounds
inherited
extend(LatLng latLng) → void
Expands bounding box by latLng coordinate point. This method mutates the bounds object on which it is called.
inherited
extendBounds(LatLngBounds bounds) → void
Expands bounding box by other bounds object. If provided bounds object is smaller than current one, it is not shrunk. This method mutates the bounds object on which it is called.
inherited
isOverlapping(LatLngBounds bounds) bool
Checks whether at least one edge of bounds is overlapping with some other edge of bounds
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, String>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited