Skip to content

OpenCraft/MapManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published