Place class abstract
Represents a location object, such as a country, a city, a point of interest (POI) etc.
Constructors
- Place()
Properties
-
accessPoints
→ List<
GeoCoordinates> -
The access points to the place, such as the points on a road or in a parking lot.
A place can have multiple access points. For example, a large warehouse can have
multiple entrances, while the center of the warehouse may not be directly reachable.
Note that access points are meant to be reachable by vehicles.
For routes it is recommended to navigate to one of the available access points (if any),
whereas the
sideOfStreetHintshould be set to the geographic coordinates of the place. The list is empty when no access points are known or when the place is directly reachable. A place can have multiple access points. For example, a large warehouse can have multiple entrances, while the center of the warehouse may not be directly reachable. Note that access points are meant to be reachable by vehicles. For routes it is recommended to navigate to one of the available access points (if any), whereas thesideOfStreetHintshould be set to the geographic coordinates of the place. The list is empty when no access points are known or when the place is directly reachable. Gets the access points to the place, such as the points on a road or in a parking lot.no setter - address → Address
-
The address of the place.
no setter
- areaType → AreaType?
-
The area type. It is available only when the Place.placeType is PlaceType.area.
Gets the area type. It is available only when the Place.placeType is PlaceType.area.
no setter
- boundingBox → GeoBox?
-
The geographic coordinates of the map bounding box containing the place.
Gets the geographic coordinates of the bounding box containing the place.
no setter
- details → Details
-
The place's detailed information.
Gets the place's detailed information.
no setter
- distanceInMeters → int?
-
The distance from the search center to the place in meters.
Gets the distance from the search center to the place in meters.
no setter
- geoCoordinates → GeoCoordinates?
-
The geographic coordinates of the place.
Can be
nullwhen retrieved from a suggestion's place property. Gets the geographic coordinates of the place.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The unique id of this resource. It can be used to query further information.
When returned from
OfflineSearchEngine,idis valid only forPlaceobjects whoseplace_typeisPOI. Otherwise, it is empty. Gets the unique id of this resource. It can be used to query further information.no setter - isCoordinatesInterpolated → bool
-
A property that says whether the coordinates of the house number were interpolated or not.
This property is valid only for house number results retrieved using online search.
When false, it means Place.geoCoordinates point to an accurate position of the house. Otherwise
coordinates are slightly less accurate, but are based on a highly optimized interpolation algorithm.
Gets the flag saying whether the coordinates of the house number were interpolated or not.
no setter
- placeType → PlaceType
-
The place type.
Gets the place type.
no setter
- politicalView → String?
-
The geopolitical view, defined as a three letter country code, each disputed territory has international and alternative views.
Populated when the geopolitical view parameter is set in the SDKOptions
and passed to SDKNativeEngine on instantiation,
but only if it is an alternative view.
For more details refer to SDKOptions.
Gets the geopolitical view, defined as a three letter country code, each disputed territory has international and alternative views.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
The localized title for the resource.
Gets the localized title for the resource.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serializeCompact(
) → String - Serializes Place to persist or transfer.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
deserialize(
String serializedPlace) → Place - Returns a Place created from serialized string.