Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display MKMapView grayscale

Is it possible to change MKMapView display to grayscale ?

like image 245
fyasar Avatar asked Feb 11 '11 11:02

fyasar


1 Answers

No, the MapKit API does not support any manipulation of the tiles. If you're interested in just a static grayscale map, you might be successful in taking a MKMapSnapshot and manipulate the image afterwards. This won't work for an interactive map, though.

You can also put a semi-transparent image view on top of the mapView. This won't allow you to completely decolorize the underlying mapView. However, you might achieve a similar effect. See the Metropolis Compass app for example.

like image 183
Ortwin Gentz Avatar answered Sep 24 '22 15:09

Ortwin Gentz