Heatmap in Google Maps SDK for iOS - 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.
Please refer this link for further detail about heat map.
Also check out the sample project provided by google on Github.
Install heat map by using following comand pod 'Google-Maps-iOS-Utils'
Thanks.

Related

Google Maps SDK demo doesn't works with Swift 3.0

I am using the google maps demo (http://www.appcoda.com/google-maps-api-tutorial). After updating my Xcode to latest Version the MapTasks.swift (https://github.com/appcoda/google-maps-api-demo) has many errors with swift 3. And some how I was fixed those errors but the map isn't works and the map is not loading as well.
So, Please help me to fix it , hence I've to update it in my Current working project.
Thanks!
I guess the demo you use is a old demo. The most accurate way to try Google Maps demo is to get the demo directly from Google.
Here is a easy way to get it from Google using CocoaPods.
https://developers.google.com/maps/documentation/ios-sdk/code-samples
Finally i found the Answer at https://github.com/BhavinBhadani/MapDemo thanks to Bhavin

How to pre bundle maps with skobbler maps 3.0?

I'm not able to make skobbler maps works with a prebundled map with SDK 3.0.
I uploaded a sample project here with a London map in the SKMaps.bundle. It cannot render the maps. (please use the SKMapsSwiftDemo on the repo)
I followed the tutorial for the 2.5 on the skobbler's blog. Did anything change?
Thank you!
I've create a 3.0.1 (latest version) Swift build (demo project) that has the London map prebundled.
It can be found here.
The demo project is configured to start in offline to indicate that only London is visible.

How to extract colours from UIImage using Swift

I recently started to create an iOS version of my Android app and I've found myself struggling to find a method of extracting dominant colours from an image.
Over in Android there's a palette library provided by Google that allows you to do just that. (https://developer.android.com/reference/android/support/v7/graphics/Palette.html)
I'm can't seem to find any libraries that will allow me to that in iOS however.
It seems my friend use this library: https://github.com/pixelogik/ColorCube
Take a tour, it seems that they do what you are expected.

render offline vector .map file in iOS

I have a .map file that I used to render maps on Andriod using mapsforge. I am trying to do the same thing in iOS.
I have tried using route-me library and followed the following tutorial but the problem is that the map that I get is a picture base map not a vector map which makes the file size very large. the .map file that I have is running on iOS device perfectly and its size is relatively small about 13 MB for the same region of the same file I used with route-me in iOS.
Can anyone please point me to a tool or library even if paid for drawing vector maps in iOS for offline usage.
YES; I tried running this application but I keeps getting errors in the application like ProtocolBuffer.h is not defined.
Thanks in advance
I am sorry I was unable to create an offline vector map, but I was able to create an offline tiled map using openstreetMap as data source and Mapbox as rendering tool in ios.

What SDKs can be used for creating offline maps application for iPad/iPhone?

we are developing an offline city map application for iPad, using Cloudmade SDKs. I'm curious, is there are any other SDKs which could be used for offline applications ?
The better solution for me is:
1.- Generate your own maps with TileMill from Mapbox and then export to MBTiles format.
2.- Get the mapbox-ios-example and use the MBTiles file you just generated.
Starting with April, 2014 there is also skobbler's /Telenav's SDK - it's got full offline capabilities (map rendering, routing & rerouting) and a map cutting tool if you want a map of a custom area (e.g. you provide the gpx enclosed polygon and you get back a map of that area)
See some examples in the demo apps and the how-to's

Resources