Run project and see the line from UK to Poland. This line renderer rasterize.
All code in MapkitTest/ViewController
- iPad Pro. iOS 15.2, iOS 15.4
- iPhone 12. iOS 15.4
- Simulator
class CustomRederer: MKPolylineRenderer {
override func draw(_ mapRect: MKMapRect, zoomScale: MKZoomScale, in context: CGContext) {
super.draw(mapRect, zoomScale: zoomScale, in: context)
}
}
class CustomRederer: MKPolylineRenderer {
// override func draw(_ mapRect: MKMapRect, zoomScale: MKZoomScale, in context: CGContext) // {
// super.draw(mapRect, zoomScale: zoomScale, in: context)
// }
}