NTMapTilerOnlineTileDataSource


@interface NTMapTilerOnlineTileDataSource : NTTileDataSource

An online tile data source that connects to MapTiler Cloud tile server. This data source should be used with vector tiles, though by customizing service URL could be used with raster tiles also. Be sure to read the Terms and Conditions of your MapTiler service provider to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.

  • Constructs a MapTilerOnlineTileDataSource object.

    Declaration

    Objective-C

    - (id)initWithKey:(NSString *)key;

    Parameters

    key

    The access key (access token) to use registered with MapTiler.

  • Returns the custom backend service URL.

    Declaration

    Objective-C

    - (NSString *)getCustomServiceURL;

    Return Value

    The custom backend service URL. If this is not defined, an empty string is returned.

  • Sets the custom backend service URL. The custom URL may contain tag “{key}” which will be substituted with the set access key.

    Declaration

    Objective-C

    - (void)setCustomServiceURL:(NSString *)serviceURL;

    Parameters

    serviceURL

    The custom backend service URL to use. If this is empty, then the default service is used.

  • Undocumented

    Declaration

    Objective-C

    - (NTTileData *)loadTile:(NTMapTile *)mapTile;
  • Undocumented

    Declaration

    Objective-C

    -(NTTileData*)loadTileSwigExplicitNTMapTilerOnlineTileDataSource: (NTMapTile*)mapTile;
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;