|
@@ -69,6 +69,15 @@ typedef enum : NSUInteger { |
|
@@ -69,6 +69,15 @@ typedef enum : NSUInteger { |
69
|
* @return An initialized MapBox tile source. */
|
69
|
* @return An initialized MapBox tile source. */
|
70
|
- (id)initWithMapID:(NSString *)mapID;
|
70
|
- (id)initWithMapID:(NSString *)mapID;
|
71
|
|
71
|
|
|
|
72
|
+/** Initialize a tile source using the MapBox map ID, optionally enabling SSL.
|
|
|
73
|
+*
|
|
|
74
|
+* This method requires a network connection in order to download the TileJSON used to define the tile source.
|
|
|
75
|
+*
|
|
|
76
|
+* @param mapID The MapBox map ID string, typically in the format `<username>.map-<random characters>`.
|
|
|
77
|
+* @param enableSSL Whether to use SSL-enabled HTTPS connections for map tiles and other related data. Defaults to `NO`. At some point in the future, this will default to `YES`.
|
|
|
78
|
+* @return An initialized MapBox tile source. */
|
|
|
79
|
+- (id)initWithMapID:(NSString *)mapID enablingSSL:(BOOL)enableSSL;
|
|
|
80
|
+
|
72
|
/** Initialize a tile source with either a remote or local TileJSON structure.
|
81
|
/** Initialize a tile source with either a remote or local TileJSON structure.
|
73
|
*
|
82
|
*
|
74
|
* Passing a remote URL requires a network connection. If offline functionality is desired, you should cache the TileJSON locally at a prior date, then pass a file path URL to this method.
|
83
|
* Passing a remote URL requires a network connection. If offline functionality is desired, you should cache the TileJSON locally at a prior date, then pass a file path URL to this method.
|
|
@@ -93,6 +102,16 @@ typedef enum : NSUInteger { |
|
@@ -93,6 +102,16 @@ typedef enum : NSUInteger { |
93
|
* @return An initialized MapBox tile source. */
|
102
|
* @return An initialized MapBox tile source. */
|
94
|
- (id)initWithMapID:(NSString *)mapID enablingDataOnMapView:(RMMapView *)mapView;
|
103
|
- (id)initWithMapID:(NSString *)mapID enablingDataOnMapView:(RMMapView *)mapView;
|
95
|
|
104
|
|
|
|
105
|
+/** For TileJSON 2.1.0+ layers, initialize a tile source and automatically find and add annotations from [simplestyle](http://mapbox.com/developers/simplestyle/) data, optionally enabling SSL.
|
|
|
106
|
+*
|
|
|
107
|
+* This method requires a network connection in order to download the TileJSON used to define the tile source.
|
|
|
108
|
+*
|
|
|
109
|
+* @param mapID The MapBox map ID string, typically in the format `<username>.map-<random characters>`.
|
|
|
110
|
+* @param mapView A map view on which to display the annotations.
|
|
|
111
|
+* @param enableSSL Whether to use SSL-enabled HTTPS connections for map tiles and other related data. Defaults to `NO`. At some point in the future, this will default to `YES`.
|
|
|
112
|
+* @return An initialized MapBox tile source. */
|
|
|
113
|
+- (id)initWithMapID:(NSString *)mapID enablingDataOnMapView:(RMMapView *)mapView enablingSSL:(BOOL)enableSSL;
|
|
|
114
|
+
|
96
|
/** For TileJSON 2.1.0+ layers, initialize a tile source and automatically find and add annotations from [simplestyle](http://mapbox.com/developers/simplestyle/) data.
|
115
|
/** For TileJSON 2.1.0+ layers, initialize a tile source and automatically find and add annotations from [simplestyle](http://mapbox.com/developers/simplestyle/) data.
|
97
|
* @param tileJSON A string containing TileJSON.
|
116
|
* @param tileJSON A string containing TileJSON.
|
98
|
* @param mapView A map view on which to display the annotations.
|
117
|
* @param mapView A map view on which to display the annotations.
|