Package com.google.maps.android.rx

Types

DragEndEvent
Link copied to clipboard
data class DragEndEvent(marker: Marker) : MarkerDragEvent
DragEvent
Link copied to clipboard
data class DragEvent(marker: Marker) : MarkerDragEvent
DragStartEvent
Link copied to clipboard
data class DragStartEvent(marker: Marker) : MarkerDragEvent
IndoorBuildingFocusedEvent
Link copied to clipboard
object IndoorBuildingFocusedEvent : IndoorStateChangeEvent
Event when the map focused on an indoor building (centered in viewport of selected by the user)
IndoorLevelActivatedEvent
Link copied to clipboard
class IndoorLevelActivatedEvent(indoorBuilding: IndoorBuilding) : IndoorStateChangeEvent
Event when an active level for a building is selected
IndoorStateChangeEvent
Link copied to clipboard
sealed class IndoorStateChangeEvent
Event for an indoor state change
MarkerDragEvent
Link copied to clipboard
sealed class MarkerDragEvent

Functions

animateCamera
Link copied to clipboard
fun GoogleMap.animateCamera(cameraUpdate: CameraUpdate, durationMs: Int? = null): Single<Boolean>
A Single that emits when a camera animation completes
cameraIdleEvents
Link copied to clipboard
fun GoogleMap.cameraIdleEvents(): Observable<Unit>
Creates an Observable that emits whenever the camera on this GoogleMap instance goes idle.
cameraMoveCanceledEvents
Link copied to clipboard
fun GoogleMap.cameraMoveCanceledEvents(): Observable<Unit>
Creates an Observable that emits whenever a camera move is canceled on this GoogleMap instance.
cameraMoveEvents
Link copied to clipboard
fun GoogleMap.cameraMoveEvents(): Observable<Unit>
Creates an Observable that emits whenever the camera on this GoogleMap instance moves.
cameraMoveStartedEvents
Link copied to clipboard
fun GoogleMap.cameraMoveStartedEvents(): Observable<Int>
Creates an Observable that emits whenever a camera move started on this GoogleMap instance.
circleClickEvents
Link copied to clipboard
fun GoogleMap.circleClickEvents(): Observable<Circle>
Creates an Observable that emits whenever a Circle is clicked on this GoogleMap instance.
groundOverlayClickEvents
Link copied to clipboard
fun GoogleMap.groundOverlayClickEvents(): Observable<GroundOverlay>
Creates an Observable that emits whenever a GroundOverlay is clicked on this GoogleMap instance.
indoorStateChangeEvents
Link copied to clipboard
fun GoogleMap.indoorStateChangeEvents(): Observable<IndoorStateChangeEvent>
Creates an Observable that emits whenever there is an indoor state change from a building.
infoWindowClickEvents
Link copied to clipboard
fun GoogleMap.infoWindowClickEvents(): Observable<Marker>
Creates an Observable that emits whenever a marker's info window is clicked.
infoWindowCloseEvents
Link copied to clipboard
fun GoogleMap.infoWindowCloseEvents(): Observable<Marker>
Creates an Observable that emits whenever a marker's info window is closed.
infoWindowLongClickEvents
Link copied to clipboard
fun GoogleMap.infoWindowLongClickEvents(): Observable<Marker>
Creates an Observable that emits whenever a marker's info window is long clicked.
mapClickEvents
Link copied to clipboard
fun GoogleMap.mapClickEvents(): Observable<LatLng>
Creates an Observable that emits whenever the map is tapped.
mapLoad
Link copied to clipboard
fun GoogleMap.mapLoad(): Completable
Creates a Completable that emits when the map is finished loading.
mapLongClickEvents
Link copied to clipboard
fun GoogleMap.mapLongClickEvents(): Observable<LatLng>
Creates an Observable that emits whenever the map is long clicked.
markerClickEvents
Link copied to clipboard
fun GoogleMap.markerClickEvents(consumed: (Marker) -> Boolean = { false }): Observable<Marker>
Creates an Observable that emits whenever a marker is clicked.
markerDragEvents
Link copied to clipboard
fun GoogleMap.markerDragEvents(): Observable<MarkerDragEvent>
Creates an Observable that emits events when a marker is dragged.
myLocationButtonClickEvents
Link copied to clipboard
fun GoogleMap.myLocationButtonClickEvents(consumed: () -> Boolean = { false }): Observable<Unit>
Creates an Observable that emits whenever the my location button is clicked.
myLocationClickEvents
Link copied to clipboard
fun GoogleMap.myLocationClickEvents(): Observable<Location>
Creates an Observable that emits whenever the my location blue dot is clicked.
poiClickEvents
Link copied to clipboard
fun GoogleMap.poiClickEvents(): Observable<PointOfInterest>
Creates an Observable that emits whenever a point of interest is clicked.
polygonClickEvents
Link copied to clipboard
fun GoogleMap.polygonClickEvents(): Observable<Polygon>
Creates an Observable that emits whenever a polygon is clicked.
polylineClickEvents
Link copied to clipboard
fun GoogleMap.polylineClickEvents(): Observable<Polyline>
Creates an Observable that emits whenever a polyline is clicked.
snapshot
Link copied to clipboard
fun GoogleMap.snapshot(bitmap: Bitmap? = null): Maybe<Bitmap>
Creates a Maybe that emits a snapshot of the map when subscribed to.