Place class
A place in the nominatim system
Constructors
-
Place({required int placeId, required String? osmType, required int? osmId, required List<
String> boundingBox, required double lat, required double lon, required String displayName, required int placeRank, required String category, required String type, required double importance, String? icon, Map<String, dynamic> ? address, Map<String, dynamic> ? extraTags, Map<String, dynamic> ? nameDetails}) -
Place.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
address
→ Map<
String, dynamic> ? -
Map of address details
Only with Nominatim.searchByName(addressDetails: true)
See https://nominatim.org/release-docs/latest/api/Output/#addressdetails
final
-
boundingBox
→ List<
String> -
Area of corner coordinates
See https://nominatim.org/release-docs/latest/api/Output/#boundingbox
final
- category → String
-
Key of the main OSM tag
final
- displayName → String
-
Full comma-separated address
final
-
extraTags
→ Map<
String, dynamic> ? -
Map with additional useful tags like website or max speed
Only with Nominatim.searchByName(extraTags: true)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String?
-
Link to class icon (if available)
final
- importance → double
-
Computed importance rank
final
- lat → double
-
Latitude of the centroid of the object
final
- lon → double
-
Longitude of the centroid of the object
final
-
nameDetails
→ Map<
String, dynamic> ? -
Map with full list of available names including ref etc.
Only with Nominatim.searchByName(nameDetails: true)
final
- osmId → int?
-
Reference to the OSM object
final
- osmType → String?
-
Reference to the OSM object
final
- 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
final
- placeRank → int
-
Search rank of the object
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
Value of the main OSM tag
final
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