12
我知道在Java版本的谷歌地图很容易,但我不知道如何让信息窗口关闭在客观的C版本的SDK。关闭信息窗口的标记编程google地图iOS
我用这个方法:
-(void) mapView:(GMSMapView *)mapView
didTapInfoWindowOfMarker:(id<GMSMarker>)marker {
sharedGlobal.shouldShowPlayer = YES;
/* adds the path to the map by decoding google's encoded string */
[self addPath: sharedGlobal.encodedPathString];
}
并希望添加一行代码以关闭与标记相关的信息窗口。
很好回答...谢谢您 –