To run the example project, clone the repo, and run pod install
from the Example directory first.
MapManager is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "MapManager"
let pin = MapPin(at: map.centerCoordinate)
.setImage(pinIcon, offSet: .centerBottom)
.setDidSelect { _, _, annotationView in
annotationView.transform = CGAffineTransform(scaleX: 1.5, y: 1.5)
}.setDidDeselect { _, _, annotationView in
annotationView.transform = CGAffineTransform(scaleX: 1.0, y: 1.0)
}
map.addPin(pin)
Henrique Morbin, morbin_@hotmail.com
MapManager is available under the MIT license. See the LICENSE file for more info.