WMSKit is a Framework for iOS written in Swift. It provides WMS (Web Map Service) capability by subclassing MapKit's MKTileOverlay
Easiest method is to use CocoaPods. Just add this line to your Podfile (replace the tag with current tag)
pod 'WMSKit'
And then run this command in a terminal
$ pod install
Alternatively you can clone this repository and build the framework with XCode, and then add it to your project manually.
When installed you can use it as follows:
import WMSKit
...
var overlay = WMSTileOverlay(urlArg: <WMS URL>, useMercator: <BOOL>, wmsVersion: <WMSVERSION>)
mapView.add(overlay)
...
See WMSKitDemo for an example on how to use this kit.
This project is licensed under the MIT License – see the LICENSE file for details
- The project is based on revilosun's project WmsMapKit_Swift.