MKCircle is not updating radius but it's translating

后端 未结 1 1422
时光说笑
时光说笑 2021-01-01 05:39

I\'ve to draw an MKCicle into an MKMapView. Then I\'ve to re-draw it when user, through a slider, change the radius. I remove it and I re-create it, re-adding it to the map.

相关标签:
1条回答
  • 2021-01-01 05:52

    Fixed. I just add

    self.circleView = nil;
    

    before the

    [self.mapView addOverlay:self.circle];
    

    in this way it works fine.

    Samuel

    0 讨论(0)
提交回复
热议问题