...
|
...
|
@@ -69,6 +69,15 @@ typedef enum : NSUInteger { |
|
|
* @return An initialized MapBox tile source. */
|
|
|
- (id)initWithMapID:(NSString *)mapID;
|
|
|
|
|
|
/** Initialize a tile source using the MapBox map ID, optionally enabling SSL.
|
|
|
*
|
|
|
* This method requires a network connection in order to download the TileJSON used to define the tile source.
|
|
|
*
|
|
|
* @param mapID The MapBox map ID string, typically in the format `<username>.map-<random characters>`.
|
|
|
* @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`.
|
|
|
* @return An initialized MapBox tile source. */
|
|
|
- (id)initWithMapID:(NSString *)mapID enablingSSL:(BOOL)enableSSL;
|
|
|
|
|
|
/** Initialize a tile source with either a remote or local TileJSON structure.
|
|
|
*
|
|
|
* 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 { |
|
|
* @return An initialized MapBox tile source. */
|
|
|
- (id)initWithMapID:(NSString *)mapID enablingDataOnMapView:(RMMapView *)mapView;
|
|
|
|
|
|
/** 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.
|
|
|
*
|
|
|
* This method requires a network connection in order to download the TileJSON used to define the tile source.
|
|
|
*
|
|
|
* @param mapID The MapBox map ID string, typically in the format `<username>.map-<random characters>`.
|
|
|
* @param mapView A map view on which to display the annotations.
|
|
|
* @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`.
|
|
|
* @return An initialized MapBox tile source. */
|
|
|
- (id)initWithMapID:(NSString *)mapID enablingDataOnMapView:(RMMapView *)mapView enablingSSL:(BOOL)enableSSL;
|
|
|
|
|
|
/** For TileJSON 2.1.0+ layers, initialize a tile source and automatically find and add annotations from [simplestyle](http://mapbox.com/developers/simplestyle/) data.
|
|
|
* @param tileJSON A string containing TileJSON.
|
|
|
* @param mapView A map view on which to display the annotations.
|
...
|
...
|
|