LocationMarkerPosition class

A position with accuracy for marker rendering.

Constructors

LocationMarkerPosition({required double latitude, required double longitude, required double accuracy})
Create a LocationMarkerPosition.
LocationMarkerPosition.unchecked({required double latitude, required double longitude, required double accuracy})
Create a LocationMarkerPosition without validation.
const

Properties

accuracy → double
The estimated horizontal accuracy of this location, radial, in meters. The smaller value, the better accuracy. Set to NaN if unavailable.
final
hashCode → int
The hash code for this object.
no setterinherited
latitude → double
The latitude, in degrees. The range should be -90 (inclusive) to +90 (inclusive).
final
latLng → LatLng
Convert to LatLng object
no setter
longitude → double
The longitude, in degrees. The range should be -180 (exclusive) to +180 (inclusive).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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