Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

more instructions

  • Loading branch information...
commit 90e382bf5e57a66bce1077690e0765219e05e3f3 1 parent 1cce91d
John Pope authored April 27, 2011

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  README.markdown
8  README.markdown
Source Rendered
@@ -5,11 +5,15 @@ http://troybrant.net/blog/2010/01/mkmapview-and-zoom-levels-a-visual-guide/
5 5
 If you have ever built a web application using the Google Maps API, you are likely intimately familiar with this line of code:
6 6
 
7 7
 map.setCenter(new google.maps.LatLng(37.4419, -122.1419), 13);
  8
+To implement this you can use the attached category. 
8 9
 
  10
+In your view controller where you declare MKMapView simply add
  11
+#import "MKMapView+ZoomLevel.h" 
9 12
 
10 13
 
11 14
 # Example
12 15
 
  16
+
13 17
 	MKCoordinateRegion region;
14 18
     CLLocationCoordinate2D c;
15 19
     c.latitude =  37.4419;
@@ -19,10 +23,6 @@ map.setCenter(new google.maps.LatLng(37.4419, -122.1419), 13);
19 23
 
20 24
 
21 25
 
22  
-
23  
-
24  
-
25  
-
26 26
 # Note
27 27
 To get the current zoom level 
28 28
 

0 notes on commit 90e382b

Please sign in to comment.
Something went wrong with that request. Please try again.