2013-07-02 19 views
0

在iOS 6.1中,集成谷歌地圖版本1.3.1。當導航的地方,有錯誤發生。 「收到內存警告」。它在模擬器中工作,但不在設備中。在ios 6.1中使用谷歌地圖版本1.3.1的內存警告?

我的代碼:

   GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:[show_lat   doubleValue] longitude:[show_long doubleValue] zoom:15]; 

      [mapView_ animateToCameraPosition:camera]; 


      mapView_ = [GMSMapView mapWithFrame:self.mapview.bounds camera:camera]; 
      mapView_.myLocationEnabled = YES; 
      mapView_.settings.compassButton = YES; 
      mapView_.settings.myLocationButton = YES; 
      [self.mapview addSubview:mapView_]; 


      // Creates a marker in the center of the map. 
      GMSMarker *marker = [[GMSMarker alloc] init]; 
      marker.position = CLLocationCoordinate2DMake([show_lat doubleValue],[show_long doubleValue]); 
      marker.title = selected_branchName; 
      marker.snippet = selected_city; 
      marker.map = mapView_; 

任何人都可以知道的請幫我...

回答

0

沒有,對不起

那是一個已知問題,報道了大湄公河次區域首要問題-api-ios問題跟蹤器

只有谷歌可以解決它,因爲它是在地圖c omponent