GurPreet_Singh
GurPreet_Singh

Reputation: 386

How to remove country/state names from MKMapview

I want to remove country / state names from MKMapview in iPhone. Means I need only blank map view without any name on it. Is this possible with MKMapview or any other third party maps.

I want to use this functionality with MKMapTypeStandard map type.

Upvotes: 4

Views: 831

Answers (1)

pmk
pmk

Reputation: 1897

Have a look at MKMapViews property mapType MKMapTypeSatellite. Setting this type you will see a map without any names on it. See the docs: MkMapView Class Reference

Code:

self.map.mapType = MKMapTypeSatellite;

Upvotes: 4

Related Questions