Hello!
I have a mapview with some annotations. Those annotations are generated from an xml file and everything is working fine. My problem is that those points to be displayed on the map are changing over time and I want to offer the user the posibility to update them. So I added a button and this button calls the method "updateIt". In this method I remove all the annotations on the map and calls the locationmanager etc again. The annotations are displayed allright but the USERLOCATION does not appear on the map after the update...? I calculate the closest position to the userlocation and defines the map (region etc) anfter tzhis calculation. I also have written myMap.showsuserposition = YES; but nothing is working.
Any tips on this issue???
I have a mapview with some annotations. Those annotations are generated from an xml file and everything is working fine. My problem is that those points to be displayed on the map are changing over time and I want to offer the user the posibility to update them. So I added a button and this button calls the method "updateIt". In this method I remove all the annotations on the map and calls the locationmanager etc again. The annotations are displayed allright but the USERLOCATION does not appear on the map after the update...? I calculate the closest position to the userlocation and defines the map (region etc) anfter tzhis calculation. I also have written myMap.showsuserposition = YES; but nothing is working.
Any tips on this issue???