MapMarkerOptions

data class MapMarkerOptions(val point: LocationInfo.Point, val imageSource: ImageSource) : MapShape

An options class for displaying a marker on the map.

Defines the position, icon, and size (width/height) of a marker. This class is used to add a new marker to the map via the marker API.

Constructors

Link copied to clipboard
constructor(point: LocationInfo.Point, imageSource: ImageSource)

Properties

Link copied to clipboard

The image resource for the marker's icon. Third-party users must provide this as a resource ID.

Link copied to clipboard
val point: LocationInfo.Point

The coordinates where the marker will be displayed.