Authored by Justin R. Miller

merge release back into develop

1 Changelog 1 Changelog
2 --------- 2 ---------
3 3
  4 +### 1.2.0
  5 +#### June 23, 2014
  6 +
  7 + - Added an `RMGreatCircleAnnotation` class for geodesic polylines.
  8 + - Allow for additional touch gesture padding around thin `RMShape` layers.
  9 + - Added an `RMTileCache` method for retrieving anticipated raster tile background download counts for a given coverage area.
  10 + - Added some documentation to the now-supported `RMCompositeSource` for client-side raster tile compositing.
  11 + - Upgraded SMCalloutView with updated iOS 7+ support.
  12 + - No longer allow callouts on non-marker annotation layers.
  13 + - Minor fix to center coordinate/zoom level animation method.
  14 + - Use magnetic heading if true heading isn't accurate.
  15 + - Added a debug log when using the default watermarked map style.
  16 + - Updated some syntax to the newer boxed literals.
  17 + - Removed some compiler flags that would over-optimize and make debugging difficult.
  18 + - Made some improvements to the map view long-press gesture.
  19 + - Fixed an issue with certain tile sources having wrong tile image request methods called.
  20 + - Fixed some issues with the SQLite-backed tile cache not reclaiming freed disk space.
  21 + - Fixed some retain cycle memory use bugs.
  22 + - Fixed a bug when toggling the logo bug and attribution button.
  23 + - Fixed a crash when trying to add invalid annotations.
  24 + - Fixed a bug with `RMStaticMapView` always using the default map style.
  25 +
4 ### 1.1.0 26 ### 1.1.0
5 #### January 2, 2014 27 #### January 2, 2014
6 28
1 // 1 //
2 -// RMGreatCircleAnnotation.m 2 +// RMGreatCircleAnnotation.h
3 // MapView 3 // MapView
4 // 4 //
5 // Copyright (c) 2008-2013, Route-Me Contributors 5 // Copyright (c) 2008-2013, Route-Me Contributors
@@ -28,11 +28,20 @@ @@ -28,11 +28,20 @@
28 28
29 #import "RMShapeAnnotation.h" 29 #import "RMShapeAnnotation.h"
30 30
  31 +/** An RMGreatCircleAnnotation class represents a line shape that traces the shortest path along the surface of the Earth. You specify a great circle (also known as a geodesic polyline) using a pair of points. When displayed on a two-dimensional map view, the line segment between the two points may appear curved. */
31 @interface RMGreatCircleAnnotation : RMShapeAnnotation 32 @interface RMGreatCircleAnnotation : RMShapeAnnotation
32 33
  34 +/** Initialize a great circle annotation using the specified coordinates.
  35 +* @param aMapView The map view on which to place the annotation.
  36 +* @param coordinate1 The starting coordinate.
  37 +* @param coordinate2 The ending coordinate.
  38 +* @return An initialized great circle annotation object, or `nil` if an annotation was unable to be initialized. */
33 - (id)initWithMapView:(RMMapView *)aMapView coordinate1:(CLLocationCoordinate2D)coordinate1 coordinate2:(CLLocationCoordinate2D)coordinate2; 39 - (id)initWithMapView:(RMMapView *)aMapView coordinate1:(CLLocationCoordinate2D)coordinate1 coordinate2:(CLLocationCoordinate2D)coordinate2;
34 40
  41 +/** The starting coordinate of the annotation. */
35 @property (nonatomic, readonly, assign) CLLocationCoordinate2D coordinate1; 42 @property (nonatomic, readonly, assign) CLLocationCoordinate2D coordinate1;
  43 +
  44 +/** The ending coordinate of the annotation. */
36 @property (nonatomic, readonly, assign) CLLocationCoordinate2D coordinate2; 45 @property (nonatomic, readonly, assign) CLLocationCoordinate2D coordinate2;
37 46
38 @end 47 @end
1 Pod::Spec.new do |m| 1 Pod::Spec.new do |m|
2 2
3 m.name = 'Mapbox' 3 m.name = 'Mapbox'
4 - m.version = '1.1.0' 4 + m.version = '1.2.0'
5 5
6 m.summary = 'Open source alternative to MapKit.' 6 m.summary = 'Open source alternative to MapKit.'
7 m.description = 'Open source alternative to MapKit supporting custom tile sources, offline use, and complete cache control.' 7 m.description = 'Open source alternative to MapKit supporting custom tile sources, offline use, and complete cache control.'