Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:latitude
- longitude:longitude
- zoom:17];
- mapView_ = [GMSMapView mapWithFrame:CGRectZero camera:camera];
- mapView_.myLocationEnabled = YES;
- self.view = mapView_;
- // Creates a marker in the center of the map.
- GMSMarker *marker = [[GMSMarker alloc] init];
- marker.position = CLLocationCoordinate2DMake(latitude, longitude);
- marker.title = nomeCliente;
- marker.snippet = @"Detalhes";
- marker.map = mapView_;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement