Did you find any solution for this?? I'm facing a similar issue.
I've added an overlay layer in MKMapView, and I'm loading custom tiles from a URL in the loadTile(at path:) method. everything works fine, and I received success responses in every case(initial view or on zoom) and the custom overlay rendered correctly.
However, I encountered an issue after adding the line mapView.setRegion(region, animated: true) to set the initial map region. After doing this, I receive a 400 error in response of loading overlay in loadTile(at path:) when zooming on the map, and the custom tiles fail to load.
Is there something wrong with the setRegion method, or could there be another reason for this issue?
Topic:
App & System Services
SubTopic:
Maps & Location
Tags: