Imagine that you are adding annotations on map(View) and appending latitude and longititude string and putting it into URL to get each individual map annotation information.
My problem is, once I choose an annotation to remove, how I am going to find chosen annotation latitude and longtitude in the string which is for URL request.
for example
www.something.com/39.001,29.002;34.0567,-32,0091;56.987,76.435
then assume that you deleted annotation 34.0567,-32,0091
how you update your string in the following
www.something.com/39.001,29.002;56.987,76.435
Turn the URL into as
NSMutableStringin order to ‘edit’ the URL, and then replace the occurrences of the placemark within that string. Then turn the string back into a URL:Edit—> Updated code including index of the changed placemark.