Changing MKMapView colors

Does anyone know a way to change MKMapView colors? Is there a way to XOR the image or blend it so you can "create" a night version of the map that isn't as bright?

Thank!

Dan

+1
mkmapview


source to share


4 answers


Better solution is to add custom color overlays



+1


source to share


I think you could create a UIView with 50% alpha that the MKMapView covered, but then you would have UI issues. I am assuming the Satellite mode is not suitable?



0


source to share


What I ended up with was adding MKAnnotation with 50% transparent black background color. Then I moved the annotation to the back of the stack supported by the mapview so that all other annotations can interact with.

Where's the really curious when the map moves ... OK if you're on iOS4, but a little tricky on iOS3 devices. Well, in the end I got it.

0


source to share


I agree with @RolandasR, you can try creating a custom overlay like in this answer from fooobar.com/questions/1134476 / ...

0


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics