iOS - MKOverlayView custom view rect fills works, but line draws do not
问题 New to Map Overlays, but this is a really weird problem. I pass in the mapView.visibleMapRect to my overlay implementation and return that as the boundingMapRect, which is fine for now - just trying to draw a line on the whole map rect. My drawMapRect is getting called, and in the following code - the partially transparent green rectangle is drawn, but the lines are not. I've verified the line drawing code in drawRect of a uiview subclass, so I know it draws something :-) I'm sure I must be