MapManager 1.1.0

MapManager 1.1.0

测试已测试
语言语言 SwiftSwift
许可证 MIT
发布时间最新版本2017年7月
SwiftSwift 版本3.0
SPM支持 SPM

Morbix 维护。



MapManager

示例

要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install

要求

安装

MapManager 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 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, [email protected]

许可证

MapManager 在 MIT 许可证下可用。有关更多信息,请参阅 LICENSE 文件。