Package-level declarations

Functions

Link copied to clipboard
fun GoogleMap.addMarker(location: Location, icon: Bitmap, title: String? = null, tag: String): Marker?
fun GoogleMap.addMarker(location: Location, @DrawableRes icon: Int? = null, title: String? = null, tag: String): Marker?
fun GoogleMap.addMarker(latLng: LatLng, icon: Bitmap, title: String? = null, tag: String): Marker?
fun GoogleMap.addMarker(latLng: LatLng, @DrawableRes icon: Int? = null, title: String? = null, tag: String): Marker?
Link copied to clipboard
fun LatLng.asString(): String
Link copied to clipboard
fun GoogleMap.centerInLocation(location: Location, smooth: Boolean = false)
fun GoogleMap.centerInLocation(latLng: LatLng, smooth: Boolean = false)
fun GoogleMap.centerInLocation(bounds: LatLngBounds, padding: Int = 200, smooth: Boolean = true)
Link copied to clipboard
Link copied to clipboard
fun Drawable.toBitmapDescriptor(): BitmapDescriptor

Demonstrates converting a Drawable to a BitmapDescriptor, for use as a marker icon.

Link copied to clipboard
fun Location.toLatLng(): LatLng
Link copied to clipboard
fun LatLng.toLocation(): Location
Link copied to clipboard
fun GoogleMap.zoomOut(zoomLevel: Float = 8.0f)