gpt4 book ai didi

iOS 7.1 map 未加载并给出以下消息

转载 作者:行者123 更新时间:2023-12-01 16:42:54 25 4
gpt4 key购买 nike

这是我在尝试加载 mapView 时看到的消息。我的注释加载正常,但没有 map ,或者有时是部分 map 。我得到一个空白页。但是当我平移时,某些 map 会加载。
*edit::似乎发生在 iPod touch 7.1 - iPhone 5 工作正常

Localization tile 22.50.7 GEOTileSetStyle_VECTOR_POI, GEOTileSize_PX512, GEOTileScale_NODPI.en is not in VLOC format



我的代码:
[self.mapView setDelegate:self];
[self.mapView setShowsUserLocation:YES];
[self.mapView setMapType:MKMapTypeStandard];

// get location from search
CLLocationCoordinate2D zoomLocation;
zoomLocation.latitude = self.searchLat;
zoomLocation.longitude= self.searchLon;

MKCoordinateRegion viewRegion = MKCoordinateRegionMakeWithDistance(zoomLocation, self.mapScale*METERS_PER_MILE, self.mapScale*METERS_PER_MILE);
[self.mapView setRegion:viewRegion animated:YES];

// remove all previous annotations
for (id<MKAnnotation> annotation in self.mapView.annotations)
{
[self.mapView removeAnnotation:annotation];
}

for (int i = 0; i < [self.mapArray count]; i++)
{
MyInfo *info = [self.mapArray objectAtIndex:i];
CLLocationCoordinate2D coord;
coord.latitude = info.lat;
coord.longitude = info.lon;

NSInteger count = i+1;
MyAnnotation *annotation = [[MyAnnotation alloc] initWithCoordinate:coord title:info.desc clubInfo:info index:count];
[self.mapView addAnnotation:annotation];
}

最佳答案

我在 Xcode 5.0 中也有类似的错误。
将 Xcode 升级到 5.1 解决了这个问题。

关于iOS 7.1 map 未加载并给出以下消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22644398/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com