An issue I could not resolve was the removing of pins when zooming out. I tried rewriting it to use Swift Set but as MKAnnotation does not conform to Hashable or Equatable it does not seem possible as of now. Perhaps a custom type could be used that implements the protocols.
Additional testing and bugfixes are required so I suggest to merge this to a separate branch for now, until the issues are resolved.
Updated Syntax to build on Swift 3.0.
An issue I could not resolve was the removing of pins when zooming out. I tried rewriting it to use Swift Set but as MKAnnotation does not conform to Hashable or Equatable it does not seem possible as of now. Perhaps a custom type could be used that implements the protocols.
Additional testing and bugfixes are required so I suggest to merge this to a separate branch for now, until the issues are resolved.