We've talked here before about TileMill, an open source tool for creating your own custom map tiles (the individual pieces that make up a full map of a city, country, and so on). But what sorts of things can you do with these map tiles? One area we wanted to explore was using them on Apple's latest touch-based device, the iPad. Providing a touch interface for maps is a serious usability win and the long battery life, huge available storage, and opportunistic network connectivity combine to make a really attractive mobile mapping platform.
The result? The MapBox iPad app. This app allows you to use custom maps on the iPad (and in an open format), as well as use OpenStreetMap (OSM) map tiles, overlay custom data in Google Earth's popular KML format as well as GeoRSS, save and share map snapshots, and much more.
To create the app the first thing we had to figure out was an alternative to Apple's standard MapKit toolset, which only uses online Google Maps. This was accomplished with the open source route-me library. Once this was decided, we created a file format called MBTiles to easily exchange potentially millions of tile images so they could be used offline.
We then layered on data visualizations, creating an open source library called Simple KML in order to parse and display the KML and KMZ file formats, something that hasn't really been done much on the iPhone or iPad outside of Google's own app.
To round out the initial release, we added the ability to save the current view -- coordinates, zoom level, and data overlays -- as a document for later, as well as the ability to email a picture of the current map straight from the app.
As a whole, we've been really happy with the iPad as an open mapping platform. We've used some tools, made some new ones available, and combined them all in new ways.
Do you have any ideas for open mapping on the iPad? We'd love to hear your thoughts in the comments or on Twitter, where you can follow our progress at @MapBox.