Mkpolyline Only Shown When Map Is Moved
I have a MKMapView with some pins on it. I connect the pins with a MKPolyline view. But the MKPolyline is only shown when I move the map (when the MapView is updated?). I want to s
Solution 1:
Make sure you set the mapView's delegate before adding the overlay. So, in your case
mapView.delegate = self;[self plotSnapPosition];
Solution 2:
Have you tried adding a [overlayView setNeedsDisplay] call when you finish drawing?
Post a Comment for "Mkpolyline Only Shown When Map Is Moved"