AnsweredAssumed Answered

Using AGSWebTiledLayer to show custom tiles

Question asked by rkoch_mindgrub on Nov 20, 2019
Latest reply on Jan 2, 2020 by rkoch_mindgrub

I'm currently working on creating and adding `AGSWebTiledLayer` tiles to my map. I have a service that returns valid tiles using the following format as described in the documentation:

http://{subDomain}.host.com/{level}/{col}/{row}.png

 

The problem that I'm coming across is when I add the `AGSWebTiledLayer` to the `operationLayers` of the map, nothing happens.

 

I also implemented the `urlForTileKeyHandler` handler and returned the url following the format above, but when debugging, that handler is never called.

 

Is there something else that needs to happen to get the tiles to display? From what I can tell, the layer is being added to the map, but it's never actually fetching the data.

 

Thanks.

Outcomes