CoordinateBounds class

A rectangular area as measured on a two-dimensional map projection.

Constructors

CoordinateBounds({required Point southwest, required Point northeast, required bool infiniteBounds})

Properties

hashCode int
The hash code for this object.
no setterinherited
infiniteBounds bool
If set to true, an infinite (unconstrained) bounds covering the world coordinates would be used. Coordinates provided in southwest and northeast fields would be omitted and have no effect.
getter/setter pair
northeast Point
Coordinate at the northeast corner. Note: setting this field with invalid values (infinite, NaN) will crash the application.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
southwest Point
Coordinate at the southwest corner. Note: setting this field with invalid values (infinite, NaN) will crash the application.
getter/setter pair

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object result) CoordinateBounds