I am new to the Google Maps SDK. I wrote a little test app that is able to show a map with routing, and a streetView panorama. This works fine, i.e. everything (the Google account, the API key, etc.) is probably setup correctly.
I now tried to get streetView pano metadata using
DispatchQueue.main.async {
let panoramaService = GMSPanoramaService()
panoramaService.requestPanoramaNearCoordinate(start) { pano, error in
guard error == nil else { fatalError() }
}
}
where start ist some coordinate.
I set breakpoints at the requestPanoramaNearCoordinate call, and at the guard statement in the callback. The 1st breakpoint is reached, but the 2nd not, i.e. there is no callback.
What could be the reason?