GeocodingService class

Service for reverse geocoding coordinates to human-readable addresses.

Uses OpenStreetMap's Nominatim API which is free and works on both Web and Desktop platforms without requiring any API keys.

Constructors

GeocodingService()

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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

Static Methods

getAddress(double lat, double lng) Future<String>
Converts latitude/longitude coordinates to a human-readable address.
getShortAddress(double lat, double lng) Future<String>
Gets a shortened version of the address (city, state, country).