Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Convert .kml files to MapKit overlays and annotations
Objective-C
branch: master

arm64

latest commit c30a486940
Zach Drayer authored

README

Modified Apple sample code, taken from https://developer.apple.com/library/ios/#samplecode/KMLViewer/Introduction/Intro.html

Changes include:
- ARC
- Adding a static library build target
- Not have all functionality in one giant file that is hard to read

Usage:
1. Add libKMLViewer as a build dependency (Also link against MapKit and CoreLocation, if you arent' doing so already.)
2. #import "KMLParser.h" (and nothing else)
3. Make a KMLParser object, using -initWithURL:
4. Call -parseKML
5. Get overlays and points from relevant properties

Dependencies:
- CoreLocation, MapKit and UIKit. Nothing that doesn't ship with the OS.
Something went wrong with that request. Please try again.