Skip to content

Conversation

@kibotu
Copy link

@kibotu kibotu commented Feb 3, 2020

added google maps 3 sdk #21

from my observation:

pro:

  • camera movement is a bit faster
  • tiles load faster
  • api is compatible with maps2: routing, marker, tiles, camera, events, map styles, polylines, polygones, etc.
  • compatible with gmaps utils (they have their own version but looks like same api)

cons:

  • no maven repository (google forces you to add a local aar)
  • not compatible with GlideModule #Issue-132323222

i've added a fork of this feature as jitpack tag: https://jitpack.io/#kibotu/trail-android/2.0.2 for people who want to try out gmaps 3 sdk

(integration can be found here: https://github.com/kibotu/trail-android/blob/2.0.2/app/build.gradle#L41-L50)

    // google maps 3 sdk integration
    // https://developers.google.com/maps/documentation/android-sdk/v3-client-migration
    // demo project: https://github.com/googlemaps/android-samples/tree/v3-beta/ApiDemos/kotlin
    implementation name: 'maps-sdk-3.0.0-beta', ext: 'aar'
    implementation 'com.google.maps.android:android-maps-utils-sdk-v3-compat:0.1'

    implementation 'com.google.android.gms:play-services-basement:17.1.1'
    implementation 'com.google.android.gms:play-services-base:17.1.0'
    implementation 'com.google.android.gms:play-services-gcm:17.0.0'
    implementation 'com.google.android.gms:play-services-location:17.0.0'

@kibotu kibotu mentioned this pull request Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant