For an application I am working on, I need to display custom raster image tiles (not vector based, probably from satellite imagery), and I need to do so offline. I would like to use the MapView, but I cannot see a way to tell it to use custom, offline map tiles instead of pulling down data from google's servers.
I've seen a few alternatives, but none seem appropriate to my need
MapDroyd Seems to only support vector-based maps. mapdroyd.com/
OSMDroid Appears to use Open Street Maps; I don't see any documentation anywhere stating that you can use custom map tiles. code.google.com/p/osmdroid/
There was a third alternative, but my post got eaten and I can't find it in my history.
Am I going to have to bite the bullet and 'roll my own'?
I believe that OpenLayers has the functionality you require, but I don't know whether it runs under Android.
In particular, see this OpenLayers wiki page about how to use your own custom tiles.
Am I going to have to bite the bullet and 'roll my own'?
Ummm, how do you like the taste of lead? ;-)
Seriously, Google Maps is closed source, and I know of no API to change up the map tiles. I'd be shocked if there is one.
What you might do is try to team up with OSMDroid to make a more generic MapDroid that has pluggable tile sources.
The only other mapping solution I know of for Android, besides the ones you list, is the one from Ericsson Labs, and that is both closed-source and vector, which probably makes it useless for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With