I checked some information on the Internet and found that there are still many articles about Google Maps SDK integration, but they are not systematic. Here are some systematic arrangements, which are mainly divided into the following sections, and I hope it will be helpful to you who are the initial Google Maps:
- 【Google Maps – Integration Preparation】
- [Google Maps – MapsSDK Integration]
- [Google Maps – DirectionsSDK Integration]
- [Google Maps – PlacesSDK Integration]
Text begins:
This is the official tool class, you deserve it:
Dependency added:
implementation 'com.google.maps.android:android-maps-utils:1.3.1'
The specific usage will not be described in detail here, and it is very clear in the official demo. Paste the renderings separately:
clustering
This method is very important when PolyUtil.decode draws the route
PolyUtil.simplify
heat map
icon generator
Reference blog:
android-maps-utils