iOS版Google地图SDK中的热图 [英] Heatmap in Google Maps SDK for iOS

查看:98
本文介绍了iOS版Google地图SDK中的热图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用 iOS版Google地图SDK 添加热图层?

Is there a way to add a heatmap layer with the Google Maps SDK for iOS?

注意:我指的是 Google地图的Javascript版本

推荐答案

Heatmaps似乎不受iOS SDK支持。不过,您可以尝试 LFHeatMap ,它允许您生成一个热图,如 UIImage 给出一组数据点。然后,您应该可以将其作为图块图层添加到您的地图中。

Heatmaps don't appear to be supported by the iOS SDK. However, you could try something like LFHeatMap which allows you to generate a heatmap as a UIImage given a set of data points. You should then be able to add this as a tile layer to your map.

这篇关于iOS版Google地图SDK中的热图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆