# android-maps-rx **Repository Path**: mirrors_googlemaps/android-maps-rx ## Basic Information - **Project Name**: android-maps-rx - **Description**: RxJava bindings for the Maps and Places SDKs for Android - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-12 - **Last Updated**: 2026-09-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Maven Central](https://img.shields.io/maven-central/v/com.google.maps.android/maps-rx)](https://maven-badges.herokuapp.com/maven-central/com.google.maps.android/maps-rx) ![Archived](https://img.shields.io/badge/stability-archived-red) ![Contributors](https://img.shields.io/github/contributors/googlemaps/android-maps-rx?color=green) [![License](https://img.shields.io/github/license/googlemaps/android-maps-rx?color=blue)][license] [![StackOverflow](https://img.shields.io/stackexchange/stackoverflow/t/google-maps?color=orange&label=google-maps&logo=stackoverflow)](https://stackoverflow.com/questions/tagged/google-maps) [![Discord](https://img.shields.io/discord/676948200904589322?color=6A7EC2&logo=discord&logoColor=ffffff)][Discord server] # Maps Android Rx # ⚠️ PROJECT ARCHIVED & DEPRECATED ⚠️ **This library is no longer maintained and has been officially archived.** ### Why is this project being retired? Since the launch of this project, the Android ecosystem has largely transitioned from RxJava to **Kotlin Coroutines and Flows**. In alignment with modern Android development practices, maintenance effort has shifted to libraries that natively support these features. ### Alternatives and Migration There are **no direct replacement libraries** providing RxJava bindings for the Google Maps Platform SDKs. 1. **Modern Kotlin Coroutines & Flows:** For modern Android development using Coroutines and Flows, Kotlin extensions and lifecycle utilities are now maintained directly within [android-maps-utils](https://github.com/googlemaps/android-maps-utils) (and [android-maps-compose](https://github.com/googlemaps/android-maps-compose) for Jetpack Compose). 2. **Bridging Coroutines to RxJava:** If your codebase requires RxJava 3 streams, you can consume the Coroutines/Flow APIs from `android-maps-utils` and convert them into RxJava Observables using the [Kotlinx Coroutines RxJava bridge](https://github.com/Kotlin/kotlinx.coroutines/tree/master/reactive/kotlinx-coroutines-rx3). 3. **Source Access:** The source code for these Rx wrappers remains available in this archived repository for reference or manual inclusion in your project. However, no further updates, bug fixes, or dependency bumps will be performed. --- ### Final Maintenance Note This project is being archived to provide clarity to the developer community and to ensure users are directed toward the most active and supported tools for the Maps SDK. ## Description This repository contains RxJava bindings for the [Maps SDK for Android](maps-sdk) and [Places SDK for Android](places-sdk). ## Requirements - Android API level 24+ - [Sign up with Google Maps Platform] - A Google Maps Platform [project] with the **Maps SDK for Android** enabled - An [API key] associated with the project above ... follow the [API key instructions] if you're new to the process ## Installation ```groovy dependencies { // RxJava bindings for the Maps SDK implementation 'com.google.maps.android:maps-rx:1.0.1' // {x-release-please-version} // RxJava bindings for the Places SDK implementation 'com.google.maps.android:places-rx:1.0.1' // {x-release-please-version} // It is recommended to also include the latest Maps SDK, Places SDK and RxJava so you // have the latest features and bug fixes. implementation 'com.google.android.gms:play-services-maps:' implementation 'com.google.android.libraries.places:places:' implementation 'io.reactivex.rxjava3:rxjava:' } ``` ## Example Usage ### Marker Clicks (Maps) ```kotlin val googleMap = // ... googleMap.markerClicks() .subscribe { marker -> Log.d("DEBUG", "Marker ${marker.title} was clicked") } ``` ### Combining camera events (Maps) ```kotlin val googleMap = // ... merge( googleMap.cameraIdleEvents(), googleMap.cameraMoveEvents(), googleMap.cameraMoveCanceledEvents(), googleMap.cameraMoveStartedEvents() ).subscribe { // Notified when one of the events triggered here } ``` ### Fetching a Place (Places) ```kotlin val placesClient = // ... placesClient.fetchPlace( placeId = "thePlaceId", placeFields = listOf(Place.Field.ID, Place.Field.NAME, Place.Field.ADDRESS) ).subscribe { // Notified when fetch completes/fails } ``` ## Documentation See the [documentation] for a full list of classes and their methods. Full guides for using the utilities are published in [Google Maps Platform documentation](https://developers.google.com/maps/documentation/android-sdk/utility). ## Contributing Contributions are welcome and encouraged! If you'd like to contribute, send us a [pull request] and refer to our [code of conduct] and [contributing guide]. ## Terms of Service This library uses Google Maps Platform services. Use of Google Maps Platform services through this library is subject to the Google Maps Platform [Terms of Service]. If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. Functionality varies by region. [Learn more](https://developers.google.com/maps/comms/eea/faq). This library is not a Google Maps Platform Core Service. Therefore, the Google Maps Platform Terms of Service (e.g. Technical Support Services, Service Level Agreements, and Deprecation Policy) do not apply to the code in this library. ## Support This library is offered via an open source [license]. It is not governed by the Google Maps Platform Support [Technical Support Services Guidelines, the SLA, or the [Deprecation Policy]. However, any Google Maps Platform services used by the library remain subject to the Google Maps Platform Terms of Service. This library adheres to [semantic versioning] to indicate when backwards-incompatible changes are introduced. Accordingly, while the library is in version 0.x, backwards-incompatible changes may be introduced at any time. If you find a bug, or have a feature request, please [file an issue] on GitHub. If you would like to get answers to technical questions from other Google Maps Platform developers, ask through one of our [developer community channels]. If you'd like to contribute, please check the [contributing guide]. You can also discuss this library on our [Discord server]. [API key]: https://developers.google.com/maps/documentation/android-sdk/get-api-key [API key instructions]: https://developers.google.com/maps/documentation/android-sdk/config#step_3_add_your_api_key_to_the_project [gmp-start]: https://console.cloud.google.com/google/maps-apis/start [maps-sdk]: https://developers.google.com/maps/documentation/android-sdk [places-sdk]: https://developers.google.com/maps/documentation/places/android-sdk [documentation]: https://googlemaps.github.io/android-maps-rx [jetpack-rx]: https://developer.android.com/jetpack/compose [code of conduct]: ?tab=coc-ov-file#readme [contributing guide]: CONTRIBUTING.md [Deprecation Policy]: https://cloud.google.com/maps-platform/terms [developer community channels]: https://developers.google.com/maps/developer-community [Discord server]: https://discord.gg/hYsWbmk [file an issue]: https://github.com/googlemaps/android-maps-rx/issues/new/choose [license]: LICENSE [project]: https://developers.google.com/maps/documentation/android-sdk/cloud-setup [pull request]: https://github.com/googlemaps/android-maps-rx/compare [semantic versioning]: https://semver.org [Sign up with Google Maps Platform]: https://console.cloud.google.com/google/maps-apis/start [similar inquiry]: https://github.com/googlemaps/android-maps-rx/issues [SLA]: https://cloud.google.com/maps-platform/terms/sla [Technical Support Services Guidelines]: https://cloud.google.com/maps-platform/terms/tssg [Terms of Service]: https://cloud.google.com/maps-platform/terms