PointOfInterest
@Serializable(with = PointOfInterestSerializer::class)
A point of interest located on a map.
Constructors
Link copied to clipboard
constructor(name: String, coordinate: Coordinate, type: PointOfInterestType = PointOfInterestType.CATEGORY, description: String? = null, address: String? = null, imageUrl: String? = null, tags: List<String> = emptyList(), mediaThumbnailUrl: String? = null, mediaUrl: String? = null, mediaType: String? = null, extraMedias: List<PointOfInterest.ExtraMedia> = emptyList(), externalData: JsonElement? = null)
Creates a point of interest with a generated unique identifier.
Properties
Link copied to clipboard
Coordinate of the point of interest.
Link copied to clipboard
Textual description of the point of interest.
Link copied to clipboard
Arbitrary external data attached to the point of interest.
Link copied to clipboard
List of extra medias associated with the point of interest.
Link copied to clipboard
URL of the image representing the point of interest. Used for POI of type PointOfInterestType.CATEGORY.
Link copied to clipboard
URL of the thumbnail image representing the point of interest. Used for POI of type PointOfInterestType.VIDEO.
Link copied to clipboard
URL of the media representing the point of interest. Used for POI of type PointOfInterestType.PICTURE.
Link copied to clipboard
Type of the point of interest.