nurnachman
nurnachman

Reputation: 4565

Display Black&White MapKit

I'm working on an app with a MapKit map, which I want to display as Black&White, rather than the default color scheme.

How do I do that?

Is there a method I can set the color scheme with?
Are there specific constants I can set for the color scheme?
Is there a combination of masking the MapKit view with some image that applies an effect of Black&White?

Thanks,
Nur

Upvotes: 1

Views: 1364

Answers (3)

GWed
GWed

Reputation: 15653

To expand on some of the answers:

You cannot set MapKit to black and white. It violates the terms of use.

Your best bet is you use route-me with an offline tileSource. Google TileMill. They allow you to create your own maps from shape files which you can download off different sites. You then use route-me to display the maps you created.

Upvotes: 0

Ali El-sayed Ali
Ali El-sayed Ali

Reputation: 451

You can use route-me instead of UIMapView and select the desired mapsource that suits you.

Upvotes: 1

mattjgalloway
mattjgalloway

Reputation: 34912

There's no way to change the colour of the map in MKMapView. The only thing you can change really is the mapType property which defines if it's a standard map, satellite or hybrid.

I doubt you'd be able to easily do anything with an overlay to make it B&W either. It might even be a violation of the terms of using the Google maps to do that anyway - I'm not sure on that, but it's possible it is.

So if you really need it B&W then I suggest using something other than the standard MKMapView.

Upvotes: 0

Related Questions