Landmark class Places
Landmark class. This is the core class for location information.
Constructors
- Landmark()
-
Creates a new landmark
factory
- Landmark.init(int id, int mapId)
- Landmark.withCoordinates(Coordinates coordinates)
-
Creates a new landmark with the given coordinates
factory
- Landmark.withLatLng({required double latitude, required double longitude})
-
Creates a new landmark with the given latitude and longitude
factory
Properties
- address ↔ AddressInfo
-
Get the address of this landmark.
getter/setter pair
-
Get the author of this landmark.
getter/setter pair
-
categories
→ List<
LandmarkCategory> -
Get landmark categories list.
no setter
- contactInfo ↔ ContactInfo
-
Get contact info attached to this landmark Phone numbers & descriptions, email addresses & descriptions, URLs & descriptions.
getter/setter pair
- coordinates ↔ Coordinates
-
Get direct access to the coordinates attached to this landmark (centroid coordinates).
getter/setter pair
- description ↔ String
-
Get the description of this landmark.
getter/setter pair
- entrances → EntranceLocations
-
Get direct access to the entrance locations.
no setter
- extraImg ↔ Img
-
Get extra image
getter/setter pair
- extraInfo ↔ ExtraInfo
-
Get direct access to the extra info attached to this landmark.
getter/setter pair
- geographicArea ↔ GeographicArea
-
Get geographic area.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Get the landmark ID.
no setter
- imageUid → int
-
Get the unique ID of the image.
no setter
- img ↔ Img
-
Get the landmark image
getter/setter pair
- landmarkStoreId → int
-
If the landmark store is set then it returns the landmark store ID.
no setter
- landmarkStoreType → int
-
If the landmark store is set then it returns the landmark store type.
no setter
- mapId → int
-
no setter
- name ↔ String
-
Get the name of this landmark.
getter/setter pair
- overlayItem → OverlayItem?
-
Get the overlay item attached to a landmark.
no setter
- pointerId → dynamic
-
no setter
- providerId ↔ int
-
Get provider id of this landmark.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeStamp ↔ DateTime
-
Get the timestamp.
getter/setter pair
Methods
-
dispose(
) → void -
getContourGeographicArea(
{bool relevantOnly = true}) → RectangleGeographicArea - Get contour rectangle geographic area.
-
getExtraImage(
{Size? size, ImageFileFormat? format}) → Uint8List? - Get extra image
-
getImage(
{Size? size, ImageFileFormat? format}) → Uint8List? - Get the landmark image.
-
getJson(
int landmarkImageWidth, int landmarkImageHeight) → Map< String, dynamic> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
setExtraImage(
{required Uint8List imageData, required ImageFileFormat format}) → void - Set the landmark extra image.
-
setImage(
{required Uint8List imageData, ImageFileFormat format = ImageFileFormat.png}) → void - Set the image of this landmark.
-
setImageFromIcon(
GemIcon icon) → void - Set the image of the landmark with an Icon
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited