Skip to content

Sumbera/SHPonMapKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHPonMapKit

Drawing shape file polygons on MapKit

Simple & strightforward test of loading shape file and drawing it on MapKit using drawMapRect. plain project using shapelib, video here:

shape file on mapkit video

  • draws only polygons so far
  • primitive optimization, no scale optimization

polygons from shapefile are read in MultiPolygonOverlay

    MultiPolygonOverlay *shpPolygonsOverlay =  [[MultiPolygonOverlay alloc]
                                            initWithLocalShpFile:[resourcePath stringByAppendingPathComponent:@"DOKMPARCELA_P"]];

drawing of MultiPolygonOverlay is on MultiPolygonRenderer : MKOverlayPathRenderer -drawMapRect

credits/inspiration:

About

Drawing shape file polygons (shp) on MapKit, Objective-C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published