Created
June 3, 2014 19:43
-
-
Save eito/26499579293bcd22a61d to your computer and use it in GitHub Desktop.
first swift ArcGIS mapping app... boom!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
// Do any additional setup after loading the view, typically from a nib. | |
let map = AGSMapView(frame:self.view.bounds) | |
let osm = AGSOpenStreetMapLayer() | |
map.addMapLayer(osm) | |
self.view.addSubview(map); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment