NominatimResponse class
Constructors
-
NominatimResponse({int? placeId, String? licence, String? osmType, int? osmId, String? lat, String? lon, String? addressClass, String? category, String? type, int? placeRank, double? importance, String? addresstype, String? name, String? displayName, Map<
String, dynamic> ? address, Map<String, dynamic> ? extraTags, Map<String, dynamic> ? nameDetails, List<String> ? boundingbox}) -
NominatimResponse.fromJson(Map<
String, dynamic> json)
Properties
-
address
↔ Map<
String, dynamic> ? -
Map of address details
Only with
reverse(addressDetails: true)
See https://nominatim.org/release-docs/latest/api/Output/#addressdetailsgetter/setter pair - addressClass ↔ String?
-
Classification of location
getter/setter pair
- addresstype ↔ String?
-
Type of the location: road, place, etc..
getter/setter pair
-
boundingbox
↔ List<
String> ? -
Area of corner coordinates
See https://nominatim.org/release-docs/latest/api/Output/#boundingbox
getter/setter pair
- category ↔ String?
-
Key of the main OSM tag
getter/setter pair
- displayName ↔ String?
-
Full comma-separated address
getter/setter pair
-
extraTags
↔ Map<
String, dynamic> ? -
Map with additional useful tags like website or max speed
Only with
reverse(extraTags: true)
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- importance ↔ double?
-
Computed importance rank
getter/setter pair
- lat ↔ String?
-
Latitude of the centroid of the object
getter/setter pair
- licence ↔ String?
-
getter/setter pair
- lon ↔ String?
-
Longitude of the centroid of the object
getter/setter pair
- name ↔ String?
-
Name of the location
getter/setter pair
-
nameDetails
↔ Map<
String, dynamic> ? -
Map with full list of available names including ref etc.
Only with
reverse(nameDetails: true)
getter/setter pair - osmId ↔ int?
-
Reference to the OSM object
getter/setter pair
- osmType ↔ String?
-
Reference to the OSM object
getter/setter pair
- placeId ↔ int?
-
Reference to the Nominatim internal database ID
See https://nominatim.org/release-docs/latest/api/Output/#place_id-is-not-a-persistent-id
getter/setter pair
- placeRank ↔ int?
-
Search rank of the object
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String?
-
Value of the main OSM tag
getter/setter pair
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