Reputation: 71
I have had a look at a bunch of different map APIs and all the ones I have found require you to display their logo.
I have had a look on the iOS app store and there are loads of apps that display a map without any logo.
Does anyone know how this is done?
I have noticed the Apple mapkit doesnt require a logo but that one doesnt allow you to customize the map much visually.
All that I have seen on the app store have a different design to what mapkit provides and no logo.
Upvotes: 1
Views: 122
Reputation: 1760
Apple's MapKit allows you to customize the map visually by using the class MKTileOverlay.
Basically what you have to do is init that class with the URL of a Tile server and then add the overlay to the map view.
let myOverlay = MKTileOverlay(URLTemplate: /*Tiles server URL*/)
myOverlay.canReplaceMapContent = true
self.mapView.addOverlay(myOverlay)
Here you can check some free tiles servers:
https://wiki.openstreetmap.org/wiki/Tile_servers
Upvotes: 2