Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

MapKitRendererDemo

Run project and see the line from UK to Poland. This line renderer rasterize.

All code in MapkitTest/ViewController

Tested on

  • iPad Pro. iOS 15.2, iOS 15.4
  • iPhone 12. iOS 15.4
  • Simulator

Bad rendering

class CustomRederer: MKPolylineRenderer {
    override func draw(_ mapRect: MKMapRect, zoomScale: MKZoomScale, in context: CGContext) {
        super.draw(mapRect, zoomScale: zoomScale, in: context)
    }
}

Good rendering

class CustomRederer: MKPolylineRenderer {
    // override func draw(_ mapRect: MKMapRect, zoomScale: MKZoomScale, in context: CGContext) // {
    //     super.draw(mapRect, zoomScale: zoomScale, in: context)
    // }
}

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages