PickedPlace class - core library - Dart API
PickedPlace
PickedPlace class
Carries the result of picking a Carto POI (point of interest) object.
Constructors
- PickedPlace(String name, GeoCoordinates coordinates, String placeCategoryId)
- Creates a new instance.
Properties
- coordinates ↔ GeoCoordinates
-
The geographic coordinates of the POI.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- name ↔ String
-
The name of the POI localized in the currently selected map language.
getter/setter pair
- placeCategoryId ↔ String
-
The place category ID of the POI.
This is the same String value as
PlaceCategory.idthat can be obtained from theSearchEngineand theOfflineSearchEngine. Note that not all editions include theOfflineSearchEngine.getter/setter pair - 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.