Alex
Alex

Reputation: 71

How do people have mobile apps that display maps with no logo

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

Answers (1)

Enrique Bermúdez
Enrique Bermúdez

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://openmaptiles.org

https://wiki.openstreetmap.org/wiki/Tile_servers

Upvotes: 2

Related Questions