README.md in map-kit-wrapper-0.0.4 vs README.md in map-kit-wrapper-0.0.5

- old
+ new

@@ -27,15 +27,12 @@ super map = MapView.new map.frame = self.view.frame map.delegate = self - region = CoordinateRegion.new([56, 10.6], [3.1, 3.1]) - map.region = region - # Alternatively use set_region - # map.set_region(region, :animated => true) - map.showsUserLocation = true + map.region = CoordinateRegion.new([56, 10.6], [3.1, 3.1]) + map.shows_user_location = true view.addSubview(map) end #... end @@ -148,11 +145,11 @@ => 15 >> lc.to_a => [10, 15] >> lc.to_h => {:latitude => 10, :longitude => 15} ->> lc.sdk +>> lc.api => CLLocationCoordinate2D ``` ## Wrappers for the MapKit data types @@ -185,11 +182,11 @@ => 2 >> cs.to_a => [1, 2] >> cs.to_h => {:latitude_delta => 1, :longitude_delta => 2} ->> cs.sdk +>> cs.api => MKCoordinateSpan ``` ### CoordinateRegion: The wrapper for MKCoordinateRegion @@ -213,11 +210,11 @@ => LocationCoordinate([56, 10.6]) >> cs.region => CoordinateSpan([3.1, 5.1]) >> cs.to_h => {:center => {:latitude => 56, :longitude => 10.6}, :span => {:latitude_delta => 3.1, :longitude_delta => 5.1}} ->> cs.sdk +>> cs.api => MKCoordinateRegion ``` ### MapPoint: The wrapper for MKMapPoint @@ -242,11 +239,11 @@ => 45 >> mp.to_a => [50, 45] >> mp.to_h => {:x => 50, :y => 45} ->> mp.sdk +>> mp.api => MKMapPoint ``` ### MapSize: The wrapper for MKMapSize @@ -271,11 +268,11 @@ => 12 >> ms.to_a => [50, 45] >> ms.to_h => {:width => 50, :height => 45} ->> ms.sdk +>> ms.api => MKMapSize ``` ### MapRect: The wrapper for MKMapRect @@ -300,9 +297,9 @@ => MapRect([2, 3]) >> mr.size => MapSize([10, 12]) >> mr.to_h => {:origin => {:x => 2, :y => 3}, :size => {:width => 10, :height => 12}} ->> mr.sdk +>> mr.api => MKMapRect ```