Package-level declarations

Properties

Link copied to clipboard
var Marker.bpkTag: Any?

An alternative solution to associate some object with given Marker.

Link copied to clipboard
var Marker.icon: Int

An icon which will be displayed on the badge.

Functions

Link copied to clipboard
fun GoogleMap.addBpkMarker(context: Context, position: LatLng, title: String, pointerOnly: Boolean, @DrawableRes icon: Int = 0, tag: Any? = null): Marker?

Adds custom Backpack marker to the map. Methods like GoogleMap.addMarker should not be used as it may lead to undefined behaviour.

Link copied to clipboard
fun MapView.getBpkMapAsync(onReady: (GoogleMap) -> Unit)
fun SupportMapFragment.getBpkMapAsync(onReady: (GoogleMap) -> Unit)

Receives the map in async mode and adds some Backpack customisations to it.