我正在尝试显示地图并使用MKMapView
. 这是我的代码
MKCoordinateRegion region = { {0.0, 0.0 }, { 0.0, 0.0 } };
region.center.latitude = 37.47 ;
region.center.longitude = 122.26;
region.span.longitudeDelta = 0.01f;
region.span.latitudeDelta = 0.01f;
[mapView setRegion:region animated:YES];
但我得到下面的错误
<GEOTileSource: 0x8e4c160>: Error downloading tiles Server Error: Error Domain=GEOErrorDomain Code=-204 "The operation couldn’t be completed. (GEOErrorDomain error -204.)" UserInfo=0x88990f0
{UnderlyingErrors=(
"Error Domain=GEOErrorDomain Code=-204 \"The operation couldn\U2019t be completed. (GEOErrorDomain error -204.)\" UserInfo=0x885b570 {IncompleteResponse=Asked for 2 tiles but only got 0 back}",
"Error Domain=GEOErrorDomain Code=-204 \"The operation couldn\U2019t be completed. (GEOErrorDomain error -204.)\" UserInfo=0x8890a50 {IncompleteResponse=Asked for 6 tiles but only got 0 back}"
)}
我没有找到任何关于什么GEOErrorDomain Code=-204
的参考。请帮帮我。