Cluster markers in Google Maps Android v2

后端 未结 8 1742
你的背包
你的背包 2020-12-23 15:01

I have to place different markers on a GoogleMap from the Google Maps Android v2 API. The problem is that multiple markers are set to the same position (lat/lng), so the use

8条回答
  •  清酒与你
    2020-12-23 16:04

    Google has provided a utility to do this as part of their Google Maps Android API Utility Library:

    https://developers.google.com/maps/documentation/android/utility/marker-clustering

    with the source at:

    https://github.com/googlemaps/android-maps-utils

提交回复
热议问题