Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
override func viewDidLoad() {
// set OneMap base map url
let url = NSURL(string: "")
// create a tiled map layer
let tiledLayer = AGSTiledMapServiceLayer(URL: url)
// add layer to the mapView UIView
self.mapView.addMapLayer(tiledLayer, withName: "Basemap Tiled Layer")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment