简体   繁体   中英

Heatmap in Google Maps SDK for iOS

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

Note: I am refering to the same feature that exists in the Javascript version of Google Maps .

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.

Google had updated their libraries, now they are providing support for iOS too. Developers looking to integrate heat map make use of it.

  1. Please refer this link for further detail about heat map.

  2. Also check out the sample project provided by google on Github .

  3. Install heat map by using following comand pod 'Google-Maps-iOS-Utils'

Thanks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM