How to create Text Overlay in an MKCircle (iOS MapKit Overlays) -
i have searched far , wide proper solution have yet find any.
-(mkoverlayview *)mapview:(mkmapview *)mapview viewforoverlay:(id)overlay { mkcircleview* circleview = [[[mkcircleview alloc] initwithoverlay:overlay] autorelease]; circleview.fillcolor=[uicolor redcolor]; return circleview; } -(void)overlay{ mkcircle *circleoverlay; cllocationcoordinate2d coords = cllocationcoordinate2dmake(1.303819,103.7689956); //giza circleoverlay=[mkcircle circlewithcentercoordinate:coords radius:200]; [self.mapview addoverlay:circleoverlay]; } is there simple way add text circle?
Comments
Post a Comment