Marker Options
Builder class for creating Marker instances with a fluent API. A builder for marker configuration.
Example usage:
val marker = MarkerOptions()
.position(LatLng(51.4818, 0.0))
.title("Greenwich Observatory")
.snippet("Prime Meridian")
.draggable(true)
.alpha(0.8f)Functions
Sets the opacity of the marker.
Sets the anchor point for the marker icon.
Sets whether the marker can be dragged.
Sets whether the icon lies flat on the map and turns with it when the camera has a bearing, instead of facing the screen.
Sets a custom icon for the marker.
Sets the point of the icon the info window points at.
Sets the position of the marker.
Sets the clockwise rotation of the icon around its anchor, e.g. a vehicle's heading.
Sets the snippet text for the marker's info window.
Sets optional user data associated with the marker.
Sets the title text for the marker's info window.
Sets whether the marker is visible.
Sets the z-index for draw order.