1

I'm currently trying to decide wether to accept a client's proposal or not. Basically, I'm asked to create a MapView that displays markers at several locations on a map, with the additional requirement that the client's own map tiles are used instead of Google Maps'.

I do not know yet how the client stores their own map tiles, but I was assured that I'd be able to convert them into any format I'd need.

  • Is it possible to use different map tiles in MapKit's MapView?
  • Do you have good online literature about this? Links please?

If this is possible, I'd propably have to create a server that sends the files to the device.

  • How hard is it to create such a server? Is it just "setup apache, done." or is there more to it?

  • How hard, or time-consuming would both these things be, in relation to just setting up a normal MapView?

Thanks for your answers.

winsmith
  • 20,791
  • 9
  • 39
  • 49

3 Answers3

4

You can't use custom tiles with MapKit. You're limited to using the ones provided by Google.

It could be easier to create a "Google Maps-ish" web app that uses the custom titles and can be viewed on the iPhone through UIWebView?

Jasarien
  • 58,279
  • 31
  • 157
  • 188
  • That's what I feared. Thanks. – winsmith Oct 24 '09 at 13:08
  • @ross I believe so. Apple's MapKit framework still doesn't provide any way for you to use your own tiles. It may be possible to use the Google maps web-based API to replace the tiles - but that is still in a web view. – Jasarien Nov 13 '12 at 15:59
  • Ok. Reason I ask is [ClassicMaps](https://github.com/kishikawakatsumi/ClassicMap) does this by treating the tiles as an overlay. I wondering if that was that way to add tiles. It was banned from the App Store, but I though this was due to infringing upon Google T&C. – Ross Nov 13 '12 at 18:25
4

Have you looked at alternate map frameworks on the iPhone? I know there is at least one open source map engine, also with tiles (that are not as good as the Google tiles, but hey).

A decent set of them is here:

Creating an IPhone Map application

Community
  • 1
  • 1
Kendall Helmstetter Gelner
  • 74,769
  • 26
  • 128
  • 150
0

The "easiest" way to do this within the Google Map framework is simply to map the client's map as a texture on top of the "ground." You can create textures at different resolutions, for different zoom factors. Then you won't need to do any special coding at all --- everything will just work.

The way you do this is with a KML region that maps to ground level.

See: http://earth.google.com/outreach/tutorial_region.html

vy32
  • 28,461
  • 37
  • 122
  • 246
  • Sure it does. You make the KML and then read it on the iPhone using Google Maps, which uses MapKit. – vy32 Nov 02 '09 at 06:28