Convert .kml files to MapKit overlays and annotations
Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Classes
KMLViewer.xcodeproj
en.lproj
images
Apple - ReadMe.txt
KMLViewer-Info.plist
KMLViewer_Prefix.pch
KML_Sample.kml
README
main.m

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.