MapManager 1.1.0

MapManager 1.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jul 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Morbix.



MapManager

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

MapManager is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "MapManager"

Usage

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)

Author

Henrique Morbin, [email protected]

License

MapManager is available under the MIT license. See the LICENSE file for more info.