Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.15 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.15 KB

MapManager

Version License Platform

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, morbin_@hotmail.com

License

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