I am developing an application that almost replicates Apple maps application behavior. When i touch a route, i need to change its color to blue and change the other ones colors to gray. Is there an efficient way to accomplish this without having to remove the overlays and adding them again ? Thanks.
Asked
Active
Viewed 533 times
2
-
This answer solves it perfectly. http://stackoverflow.com/a/30193650/3324388 – Aggressor Sep 23 '15 at 17:29
1 Answers
0
Yes:
Make sure your annotation view has
enabled = YES
.Implement
-[MKMapViewDelegate mapView:didSelectAnnotationView:]
.In that callback, get
view
and change its properties.

incanus
- 5,100
- 1
- 13
- 20