Gradle relies on using latlng in Java projects
•
Android
I want to use the latling class in my java project https://developers.google.com/android/reference/com/google/android/gms/maps/model/LatLng
Someone can tell me about gradle dependency
resolvent:
Well, given its java package, it is similar to a part of maps V2 library, so it relies on the com. Google. Android. GMS: play services maps artifact from Google repository
However, it seems unwise to load all maps V2, which is only applicable to small latlng classes. If you want to integrate more maps V2, be sure, but if you just want a class to track two double values, it makes more sense to write your own or use the Android SDK's own location class
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码