【问题标题】:what should to do to use google map clustering使用谷歌地图聚类应该怎么做
【发布时间】:2015-03-24 01:29:44
【问题描述】:

我有一个愚蠢的问题。我已经搜索了很多,无法弄清楚是什么问题。 我有一个 android 应用程序,想根据this link 使用 Google Maps Clustering。问题是当我尝试创建简单的 Item 类并从 ClusterItem 实现时(根据示例),它无法识别 ClusterItem 接口。我添加了谷歌播放服务,但没有任何变化。 有什么我错过的吗?还有什么要添加到 gradle 中的吗?

提前致谢。

【问题讨论】:

    标签: android google-maps google-play-services


    【解决方案1】:

    根据该页面上的Introduction

    标记聚类实用程序是Google Maps Android API Utility Library 的一部分。

    its website 上可以找到更新的文档和包含说明。

    对于 Android Studio,添加单个依赖项很容易:

    dependencies {
      compile 'com.google.maps.android:android-maps-utils:0.3+'
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-04-29
      • 1970-01-01
      • 1970-01-01
      • 2017-12-25
      • 2012-12-17
      • 2011-04-13
      • 2013-01-08
      • 2023-04-02
      相关资源
      最近更新 更多