wikimedia/apps-ios-wikipedia — pull request #3 by if0xx (2014-07-16 05:19:10+00:00)
Title: A first implementation of a MKMapView to display coordinates included in a Wikipedia article

At this stage the implementation catches taps onto geohack extension links, launches a MapViewController and passes the geohack URL on to the MVC.

The MapViewController parses the URL, gathers coordinates and title and displays a native iOS map with an annotation (“pin”) representing the article in question. The map style can be toggled by tapping the gear. Tapping the “Share”-Button opens the geohack page in MobileSafari.

Next steps: use geo api JSON call to retrieve coordinates already while loading article, add map icon to bottom toolbar in main article view if coordinates associated with article can be retrieved.

By Ulf Buermeyer, @if0xx.