Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master
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

License

JBDaylightOverlay includes a New/Modified BSD license. This means you can use it modified or unmodified for your commerical products. However, you must include a credit mentioning John Boiles as the original author. Where you put it is up to you, but preferrably somewhere in the software itself. Perhaps something like:

Includes “JBDaylightOverlay” code by John Boiles.

You're under no obligation to share any modified / improved code, but I would appreciate it if you shared improvements via a pull request!

Something went wrong with that request. Please try again.