Example project for showing a zoomable/movable polyline annotation inside an iPhone MapKit view
Objective-C C
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits ahead of wlach:master.
Latest commit bb351df Sep 6, 2010 mobilemelting updated readme
Permalink
Failed to load latest commit information.
Classes
nvpolyline.xcodeproj updated readme Sep 6, 2010
.gitignore
LICENSE
MainWindow.xib
README
main.m
nvpolyline-Info.plist
nvpolyline_Prefix.pch

README

This is an example project demonstrating how to draw a polyline inside an
MKMapView that continues to display correctly even as a user pinches and zooms
the map. It incorporates and expands upon ideas from Craig Spitzkoff and
Nicolas Neubauer.

This solution is focused on iPhone OS versions pro to 4.x
Note: In iPhone OS 4.0 the MKPolyline has been added.

However, if you want to create an application, which should run on iOS versions prior to 4.x and make use of a polyline, you should use this project's polyline implementation.

For more information, see:

http://navarra.ca/?p=786

For information on the inspiration behind this original work, see:

http://spitzkoff.com/craig/?p=65
http://pixelfehler.nicolas-neubauer.de/2009/09/04/mapkit-google-maps-iphone-and-drawing-routes-or-polylines/

The original example from http://github.com/wlach contained some bugs, which did not seem to get fixed. Bugs fixed:
- Polyline View overlaps other Annotation Views (http://github.com/wlach/nvpolyline/issues#issue/2)
- App crashes when zoomed in (http://github.com/wlach/nvpolyline/issues#issue/1)