jeudi 26 mars 2015

MKCircleRenderer fillcolour overlap issue

I am adding MKCircleRenderer to a map code for that is



- (MKOverlayRenderer*)mapView:(MKMapView*)mapView rendererForOverlay:(id <MKOverlay>)overlay
{
MKCircle* circle = overlay;
MKCircleRenderer *circleView = [[MKCircleRenderer alloc] initWithOverlay:circle];
circleView.fillColor = [UIColor colorWithRed:1.0 green:0.0 blue:0.0 alpha:0.1];
return circleView;

}


Here the issues is that when two circles overlap i do not want them to get "mixed" and display a darker color in the overlapping area as like this.


enter image description here


Can any one please advise any hint / solution to resolve this.




Aucun commentaire:

Enregistrer un commentaire