0

In iOS 6.1, integrated google maps version 1.3.1. when navigate place, there is error was occur. "Received Memory Warning".Its working in simulator but not in device.

my code :

             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_;

Can anyone know please help me...

4

1 回答 1

0

不,对不起

这是一个已知问题,也是 gms-api-ios 问题跟踪器上报告的首要问题

只有谷歌可以修复它,因为它在地图组件中

于 2013-07-02T12:37:02.453 回答