【问题标题】:Mapbox Clustering with GeoJSON file使用 GeoJSON 文件进行 Mapbox 聚类
【发布时间】:2018-04-12 23:01:10
【问题描述】:

我正在构建一个旅行应用程序,它在特定的 mapView 上显示大约 200 个注释。 我已经完成了 iOS 版本,现在开始创建 android 版本。

我之前使用了 MapBox 示例 - 聚类点数据。使用 GeoJSON 文件 https://www.mapbox.com/ios-sdk/examples/clustering/

有谁知道是否有使用 GeoJSON 文件的 android 集群点示例?或者如果这是可能的。

【问题讨论】:

    标签: android swift mapbox geojson markerclusterer


    【解决方案1】:

    the Mapbox Android demo app 中查看this GeoJSON clustering example。该代码基于即将推出的 Android 版 Mapbox Maps SDK 6.0.0 版本。演示应用的 master 分支使用的是 6.0.0-beta.7 版本的 Mapbox Maps SDK for Android。

    如果您使用的是 6.0.0 之前的版本,请查看the old/"red" code that's using Filters instead of Expressions here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-02-17
      • 2022-01-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-16
      • 1970-01-01
      相关资源
      最近更新 更多