ScreenCoordinate class

Represents a point coordinate in the GoogleMap's view.

The screen location is specified in screen pixels (not display pixels) relative to the top left of the map, not top left of the whole screen. (x, y) = (0, 0) corresponds to top-left of the GoogleMap not the whole screen.

Annotations

Constructors

ScreenCoordinate({@required int x, @required int y})
Creates an immutable representation of a point coordinate in the GoogleMap's view.
const

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
x int
Represents the number of pixels from the left of the GoogleMap.
final
y int
Represents the number of pixels from the top of the GoogleMap.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() → dynamic
Converts this object to something serializable in JSON.
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator. [...]
override