Skip to content

MarkerManager.Collection depends on Google Play Services? #964

Closed

Description

@ArcherEmiya05

MarkerManager.Collection method addMarker() only accepts com.google.android.libraries.maps.model.MarkerOptions even after using Non Google Play Services Dependent version of the library.

Activity

  1. added
    triage me
    type: question
    on Aug 30, 2021
  2. changed the title [-]MarkerManager.Collection is dependend on Google Play Services?[/-] [+]MarkerManager.Collection depends on Google Play Services?[/+] on Aug 31, 2021
  3. barbeau commented on Sep 8, 2021

    @barbeau
    Collaborator

    @ArcherEmiya05 The v3 build of android-maps-utils (implementation 'com.google.maps.android:android-maps-utils-v3:2.2.5') depends on the Maps SDK v3 beta, so it shouldn't have a dependency on Google Play Services. The Maps SDK v3 beta has it's own implementation of MarkerOptions.

    You can see this in the demo app v3 product flavor - it depends on the SDK v3 beta instead of Google Play Services using the v3Implementation:

        v3Implementation 'com.google.android.libraries.maps:maps:3.1.0-beta'
        v3Implementation 'com.android.volley:volley:1.2.1' // TODO - Remove this after Maps SDK v3 beta includes Volley versions on Maven Central
        v3Implementation 'com.google.maps.android:android-maps-utils-v3:2.2.5'

    ...at https://github.com/googlemaps/android-maps-utils/blob/main/demo/build.gradle#L74

    I'm going to close this out, but please feel free to re-open if you have any questions or issues.

  4. assigned and unassigned on Sep 8, 2021
  5. removed
    triage me
    on Sep 8, 2021
  6. added a commit that references this issue on Aug 14, 2026
    bfbd5fa
  7. added a commit that references this issue on Aug 17, 2026
    dc6ecf0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: question

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions