2

In my app i used mapKit, the problem is the map should be in specific color like this : mapKit i try to change the type of map, but nothing match with this picture, so i thought if i can change the color of the mapKit. anyone faced like this problem ? any help please ? thanks

Rawan
  • 1,589
  • 4
  • 23
  • 47

2 Answers2

0

Try using the Mapbox API. I currently have the same problem and this library has come in-handy.

eshirima
  • 3,837
  • 5
  • 37
  • 61
0

You can apply a mask by adding an Overlay betwen the map and Label/Road:

let path = NSBundle.mainBundle().pathForResource("overlay", ofType: "png")
let fileURL = NSURL(fileURLWithPath: path!)
self.overlay = MKTileOverlay(URLTemplate: fileURL.absoluteString)
self.overlay!.canReplaceMapContent = false
self.mapView.addOverlay(self.overlay!, level: MKOverlayLevel.AboveRoads)