Removing single map pins is not working in my implementation. I managed to track this down to this line:
if (pin.title == pinTitle)
https://github.com/victorzimmer/MapKit/blob/master/src/ios/MapKit.m#L818
I fixed this by replacing the line with this comparison:
if ([pin.title isEqualToString:pinTitle])
I did not want to fork/pull as I have some custom code in my own fork that I don't think you will want in here, but I thought I would provide my solution in case someone else came across this error.
Removing single map pins is not working in my implementation. I managed to track this down to this line:
if (pin.title == pinTitle)https://github.com/victorzimmer/MapKit/blob/master/src/ios/MapKit.m#L818
I fixed this by replacing the line with this comparison:
if ([pin.title isEqualToString:pinTitle])I did not want to fork/pull as I have some custom code in my own fork that I don't think you will want in here, but I thought I would provide my solution in case someone else came across this error.