Display Grayscale MKMapView

Is it possible to change the MKMapView display to grayscale?

+7
source share
2 answers

No, the MapKit API does not support any fragment manipulation. If you are only interested in a gray MKMapSnapshot static map, you may be able to accept MKMapSnapshot and manipulate the image afterwards. However, this will not work for an interactive map.

You can also put a translucent view of the image on top of the mapView. This will not completely discolor the underlying mapView. However, you can achieve a similar effect. For example, the Metropolis Compass application .

+8
source

You can use the Google Map Header API and recolor the headers and load them as an overlay. That would be a bit hacked.

I knew some guys who did this in Flash. Google agrees with this:

https://spreadsheets.google.com/viewform?formkey=cm0zMDkzOHZWMjJneEl2RVdkNFZRb0E6MA

Check out Cloudmade's Alternative Mapping Toolkit: http://cloudmade.com/products/iphone-sdk

Edit:

Perhaps you can overload renderInContext and then redraw the screen somehow. That sounds a little dangerous.

0
source

All Articles