ArcGIS Runtime SDK for iOS: AGSServiceImageTiledLayer(CustomTiledLayer) Category Reference
ArcGIS Runtime SDK for iOS  100.15
AGSServiceImageTiledLayer(CustomTiledLayer) Category Reference

Description

Category for implementing custom tiled layers based on remote services.

This category organizes the methods that are relevant to creating a custom tiled layer that provides tiles from a remote service or location.

Since
100
See also
AGSImageTiledLayer(CustomTiledLayer) for creating custom tiled layers based on local tiles.

Instance Methods

(instancetype) - initWithTileInfo:fullExtent:
 

Class Methods

(instancetype) + serviceImageTiledLayerWithTiledInfo:fullExtent:
 

Properties

NSURL *(^ urlForTileKeyHandler )(AGSTileKey *tileKey)
 

Method Documentation

◆ initWithTileInfo:fullExtent:

- (instancetype) initWithTileInfo: (AGSTileInfo *)  tileInfo
fullExtent: (AGSEnvelope *)  fullExtent 

Initialize the custom tiled layer with the provided details

Parameters
tileInfospecifying the tiling scheme used by the layer
fullExtentof the layer
Returns
Initialized tiled layer
Since
100

Extends class AGSServiceImageTiledLayer.

◆ serviceImageTiledLayerWithTiledInfo:fullExtent:

+ (instancetype) serviceImageTiledLayerWithTiledInfo: (AGSTileInfo *)  tileInfo
fullExtent: (AGSEnvelope *)  fullExtent 

Initialize the custom tiled layer with the provided details

Parameters
tileInfospecifying the tiling scheme used by the layer
fullExtentof the layer
Returns
Initialized tiled layer
Since
100

Extends class AGSServiceImageTiledLayer.

Property Documentation

◆ urlForTileKeyHandler

- (NSURL*(^ urlForTileKeyHandler) (AGSTileKey *tileKey))
readwritenonatomicstrong

The handler that will be invoked when a new tile is needed. This should be assigned a block that contains the business logic specific to the custom layer for fetching the requested tile. The block should return a URL that can be used to fetch the remote data.

Since
100

Extends class AGSServiceImageTiledLayer.