My client need to add more information in info window in google map which is integrated in my app.So i have decided to use a scroll view as info window. I am using the methode - (BOOL)mapView:(GMSMapView *)mapView didTapMarker:(GMSMarker *)marker for representing my scrollview on top of the map.
This is my code:
- (BOOL)mapView:(GMSMapView *)mapView didTapMarker:(GMSMarker *)marker {
self.propertyNameLabel.text = marker.title;
self.addressLabel.text = marker.snippet;
[self.scrollViewTest setContentSize:CGSizeMake(600.00, 610.00)];
[self.searchMap addSubview:self.scrollViewTest];
UITapGestureRecognizer *tapGestureRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleMoreTap)];
tapGestureRecognizer.numberOfTapsRequired = 1;
[self.moreLabel addGestureRecognizer:tapGestureRecognizer];
self.moreLabel.userInteractionEnabled = YES;
[tapGestureRecognizer release];
return YES;
}
When I clicked on the marker my scroll view is displayed, but the scrolling is not working. I have set the content size and still its not working. Please help me out,
Thanks.