An overlay for MapKit that shows daylight for the current date and time.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit behind johnboiles:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Classes
Example
.gitignore
README.md

README.md

JBDaylightOverlay

http://github.com/johnboiles/JBDaylightOverlay

An overlay for MapKit that shows daylight for the current date and time.

JBDaylightOverlayScreenshot

To Use

  1. Instantiate an MKMapView

  2. Instantiate a JBDaylightOverlay

  3. Call [mapView addOverlay:daylightOverlay]

  4. Call [daylightOverlay startUpdating]

  5. Implement MKMapViewDelegate's mapView:viewForOverlay: delegate method to return daylightOverlay