PMMapMarker
data class PMMapMarker(val markerId: String = UUID.randomUUID().toString(), val bitmap: Bitmap, val position: PMMapPosition, val markerIconAnchorX: Float = 0.5f, val markerIconAnchorY: Float = 0.5f, val minVisibleZoomLevel: Float = 0.0f, val maxVisibleZoomLevel: Float = 22.0f)
Representation of marker displayed on map
Constructors
Link copied to clipboard
fun PMMapMarker(markerId: String = UUID.randomUUID().toString(), bitmap: Bitmap, position: PMMapPosition, markerIconAnchorX: Float = 0.5f, markerIconAnchorY: Float = 0.5f, minVisibleZoomLevel: Float = 0.0f, maxVisibleZoomLevel: Float = 22.0f)
Properties
Link copied to clipboard
Marker is only visible if zoom level is lower than this value. This value should be more than @property minVisibleZoomLevel - Only values in range <0, 22> are valid, where 0 is the most zoomed out view, 22 is the most zoomed in view. - Default value is 22, which means there is no upper zoom level bound
Link copied to clipboard
Marker is only visible if zoom level is higher than this value. This value should be less than @property maxVisibleZoomLevel - Only values in range <0, 22> are valid, where 0 is the most zoomed out view, 22 is the most zoomed in view - Default value is 0, which means there is no lower zoom level bound
Link copied to clipboard