如何仅在GMSCirle
区域中显示标记,否则隐藏在 iOS 中,我GMSCirle
使用谷歌地图创建,现在我只想在隐藏标记的区域上显示GMSCirle
标记。
这是我的代码:
GMSMarker *centerPoint=[GMSMarker markerWithPosition:CLLocationCoordinate2DMake(16.301687, 80.419235)];
centerPoint.icon=[UIImage imageNamed:@"PinImage.png"];
circ.fillColor = [UIColor colorWithRed:0.25 green:0 blue:0 alpha:0.05];
circ.strokeColor = [UIColor blackColor];
circ.strokeWidth = 5;
circ.tappable=true;
circ.map = mapView_;
mapView_.settings.myLocationButton=YES;
mapView_.settings.zoomGestures=YES;
mapView_.settings.zoomGestures=YES;
mapView_.settings.compassButton=YES;
mapView_.settings.rotateGestures=YES;
mapView_.settings.scrollGestures=YES;
mapView_.settings.tiltGestures=YES;
mapView_.myLocationEnabled=YES;
如果有任何想法可以理解,我会很努力,在此先感谢。
只是我只想知道如何仅在 iOS 的特定区域上显示标记