Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- W0815 21:50:35.497383 1 commandlineflags.cc:1503] Ignoring RegisterValidateFunction() for flag pointer 0x100bc8210: no flag found at that address
- CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/7689CC83-309E-4D44-B5E0-697601B96C61/BoostRadius-iOS.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
- CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/7689CC83-309E-4D44-B5E0-697601B96C61/BoostRadius-iOS.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
- CoreData: annotation: Failed to load optimized model at path '/var/containers/Bundle/Application/7689CC83-309E-4D44-B5E0-697601B96C61/BoostRadius-iOS.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo'
- override func viewDidLoad() {
- super.viewDidLoad()
- view.backgroundColor = .green
- let camera = GMSCameraPosition.camera(withLatitude: -33.86, longitude: 151.20, zoom: 6.0)
- let mapView = GMSMapView.map(withFrame: CGRect.zero, camera: camera)
- view = mapView
- // Creates a marker in the center of the map.
- let marker = GMSMarker()
- marker.position = CLLocationCoordinate2D(latitude: -33.86, longitude: 151.20)
- marker.title = "Sydney"
- marker.snippet = "Australia"
- marker.map = mapView
- }
Add Comment
Please, Sign In to add comment