Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS7 Map Kit remove default location icons

Tags:

ios

ios7

mapkit

I am wondering if it's possible to remove all the default icons from the map kit. I did a lot of researches and tried a couple of different ways. Couldn't find any way to do this. Don't know if anybody can help us out.

Map

like image 313
Xu Yin Avatar asked Oct 25 '13 22:10

Xu Yin


2 Answers

It won't get rid of all those icons (I think the road markings will stay) but you can use the iOS 7 MKMapView property showsPointsOfInterest, setting it to NO to remove shops and other icons.

[myMapView setShowsPointsOfInterest:NO]

From the docs:

When this property is set to YES, the map displays icons and labels for restaurants, schools, and other relevant points of interest. The default value of this property is YES.

like image 110
nevan king Avatar answered Oct 22 '22 16:10

nevan king


From what I know Apple is not possible to delete the icons kit IOs7 the maps, there may be some way to let him invisible, but could not find a way to do the same as you said you tried several ways I tried too and got no success, I have helped

like image 20
Fernando Davi Ribeiro Avatar answered Oct 22 '22 14:10

Fernando Davi Ribeiro