转载

[iOS] BentoMap:四叉树算法实现地图目标快速标记类库及演示

BentoMap

BentoMap is an implementation of quadtrees for map annotation clustering and storage written in Swift. The library intends to require minimal code in-app to get clustered annotations on screen, the example target included in BentoMap.xcodeproj contains the bare code required dynamically update the map with clusters whenever the map view's bounds changes.

Installation with CocoaPods

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

pod 'BentoMap'

If you want to use theUIKit Utilities, add:

pod 'BentoMap/UIKit'

Installation with Carthage

BentoMap is also compatible withCarthage. To install it, simply add the following line to your Cartfile:

github "Raizlabs/BentoMap"

Author

Michael Skiba, mike.skiba@raizlabs.com

License

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

原文  https://github.com/Raizlabs/BentoMap
正文到此结束
Loading...