MarkerClusterer - iPhone mapview
Has any one successfully implemented MarkerClusterer using Titanium on an iPhone App? I have over 900 annotations to place, and its painfully slow to place them, and I am getting memory warnings - surprisingly its not crashing yet!
I cant imagine it would be too difficult, just wanted to know if anyone had any code examples implemented with Appcelerator?
Thank you for any help in the matter.
2 Answers
-
Accepted Answer
You should be able to get it to run in a webview without any problems. I use Fluster, a fork of MarkerClusterer designed for the GMaps v3 API, extensively on Giftflow, one of the web apps I have built. I have never had any problems viewing the clusters on my iPhone's Safari browser so I assume there wouldn't be problems in a Titanium app.
Another possible avenue would be to use the
image
property when callingTi.Map.createAnnotation()
to create a custom marker for diferent marker densities, and then try to take the clustering logic from Marker Clusterer. I think this is a really good question though. I'm curious, Ian, what did you end up doing?-Brandon
-
Have found an alternative route, but this would still be the preferred, if any one can help please chime in.