Skip to content

SPBSTU-indoor-navigation/MapKitRendererDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages