My ViewController is as follows. Upon launch of macOS Monterey Apple Maps app, the app opens in satellited flyover mode. There must be additional setup requirements now?
import Cocoa
import MapKit
class ViewController: NSViewController, MKMapViewDelegate {
@IBOutlet weak var mapView: MKMapView!
override func viewDidLoad() {
super.viewDidLoad()
mapView.delegate = self
mapView.mapType = .satelliteFlyover
}
override var representedObject: Any? {
didSet {
}
}
}
Topic:
App & System Services
SubTopic:
Maps & Location
Tags: