Moving-MKAnnotationView

An implementation of a moving map annotation using iOS MapKit and QuartzCore.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

148

Maintenance

Last Commit

8yrs ago

Contributors

3

Package

Dependencies

0

License

MIT

Categories

Readme

Moving MKAnnotationView.

This sample iPhone project uses HGMovingAnnotation and HGMovingAnnotationView to show moving annotations on a map.

HGMovingAnnotation

This class derives from MKAnnotation and adds the capability of updating the coordinate (position) and the rotation of the annotation. In the sample project, location updates are read from an HGMapPath, which is a collection of MKMapPoints stored on file.

The current implementation of this class reads the next point on the path every second and updates the annotation's coordinate.

HGMovingAnnotationView

This class extends MKAnnotationView by animating its position and rotation on the map. It does this by observing its HGMovingAnnotation object.

Update 22 Oct 2013

  • Updated to use XCode5 project structure, iOS7 SDK.
  • Updated deployment target of sample project to iOS6. HGMovingAnnotationView + HGMovingAnnotation can be used on pre-iOS6 versions as well.
  • Added capability to update and animate the rotation of the annotation view.

Minimum requirements

  • iOS 4.3 or later (Sample project was originally created with Xcode 3.2.6, iOS SDK 4.3 GM Seed)

License

Moving-MKAnnotationView is released under MIT License.

Please report bugs/issues to [email protected].

Any suggestions and/or code to help improve this source will be much appreciated.

Thanks!

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100