This work will be integrated into my iPhone app. So all I need is the working source code well documented. Only use standard Apple framework/libraries. Objective-C code. No Javascript.
I have a tab based app. I am under time pressure and need one view done. I could do it myself but just lack the time. The faster you can do this the better for me.
I need basically two views
First view is a MKMapView centered to the current location. You must update the location until we reach the best location. Then you stop updating. The mapview must be 2000 meters region. There are about 300 locations I need standard pins on it but with 4 different colors depending on the type of location (blue, red, black, white). The pins need to fly in. I have the code for this already. If the next pin is not within the 2000 meters region the region must be increased to show at least one annotation at the boarder of the view (figure it out but about 1 cm from the border of the iphone view).
The map view must have a button "list" then you show a table view (the second view) with a back button (back to the map view, thus a modalview). The table view shows all the branches (the pins are branches of my client I am doing this for). The sorting must be distance to current location (the shortest distance first). The table view is a normal list style. I do not need a detail view on this. I will do that myself or ask for it in a separate job. The cell shows simple heading and the distance in meters (just straight distance, no walking or driving distance or something).
The table view and the map view must have a button "center" to recalculate the current location and do the "find my location best drill". Also when pressing this button on the map view all annotations must go away and then fly in again.
This is it.
## Deliverables
The list of branches can be hardcorded in the source-code. Better it would be read from a XML file but no need. The data I have is longitude, latitude, name of location, type of location (4 types, different colores by type).