HTTP XYZ source for outdoor vector tiles. More...
#include <com/navigine/idl/objc/NCHttpTileSource.h>
Inherits NSObject.
Instance Methods | |
| (nonnull instancetype) | - initWithUrlTemplate:headers:queryParameters: |
| Default constructor for class NCHttpTileSource. | |
Class Methods | |
| (nonnull instancetype) | + httpTileSourceWithUrlTemplate:headers:queryParameters: |
| Factory method for class NCHttpTileSource. | |
Properties | |
| NSString * | urlTemplate |
HTTPS XYZ template with {z}, {x}, {y}. | |
| NSDictionary< NSString *, NSString * > * | headers |
| Extra request headers. Null or empty: none. Overrides the default User-Agent when that header is set. | |
| NSDictionary< NSString *, NSString * > * | queryParameters |
| Extra query parameters appended to each tile URL. Null or empty: none. | |
HTTP XYZ source for outdoor vector tiles.
urlTemplate must contain {z}, {x}, {y}. Optional query parameters (API keys such as key, access_token, apikey) are appended to each request. Optional headers cover Authorization, Referer, or a custom User-Agent. The SDK always sends an identifying User-Agent unless the headers map already has one. Keys may also be baked into urlTemplate.
Referenced from TileProvider.
Definition at line 24 of file NCHttpTileSource.h.
| + (nonnull instancetype) httpTileSourceWithUrlTemplate: | (nonnull NSString *) | urlTemplate | |
| headers: | (nullable NSDictionary< NSString *, NSString * > *) | headers | |
| queryParameters: | (nullable NSDictionary< NSString *, NSString * > *) | queryParameters |
Factory method for class NCHttpTileSource.
| - (nonnull instancetype) initWithUrlTemplate: | (nonnull NSString *) | urlTemplate | |
| headers: | (nullable NSDictionary< NSString *, NSString * > *) | headers | |
| queryParameters: | (nullable NSDictionary< NSString *, NSString * > *) | queryParameters |
Default constructor for class NCHttpTileSource.
|
readnonatomicassign |
Extra request headers. Null or empty: none. Overrides the default User-Agent when that header is set.
Definition at line 58 of file NCHttpTileSource.h.
|
readnonatomicassign |
Extra query parameters appended to each tile URL. Null or empty: none.
Definition at line 63 of file NCHttpTileSource.h.
|
readnonatomicassign |
HTTPS XYZ template with {z}, {x}, {y}.
Swift code snippet:
Objective C code snippet:
Definition at line 52 of file NCHttpTileSource.h.