I've integrated a map view into my app (now using iOS 15). In one particular area I'm getting these kinds of errors in the console of Xcode:
2021-09-29 17:46:16.330607+0100 […] [VKDefault] Building failed to triangulate!
Wrapped around the polygon without finishing... :-(
List has 66 nodes:
144 [...abbreviated...] 2
2021-09-29 17:46:16.331588+0100 […] [VKDefault] Building failed to triangulate!
2021-09-29 17:46:16.493476+0100 […] [ResourceLoading] Failed to load key: 1385568764.285346958 t:35 kt:0 type: 35, -7: GEOErrorDomain
I came across this only because rendering of a static map image using MKMapSnapshotter
of that location at a certain zoom level keeps failing without an error all the time, i.e. the completion handler is never called, not even with an error.
If I change the snapshot region or use a wider span I have no issues.
For privacy I won't share the affected location here in the forum.
Any ideas? Is this some kind of unhandled error with problematic map data from Apple?