I've managed to extend the class and load the tiles from a local database (sqlite). The problem is precisely the method buildTileInfo.How can I get the values �??�??of the resolution if what you have is only png images of each tile? How to calculate this value?I can load the tiles however they are with some error in the projection which I believe is because of the LOD.
Description: This sample demonstrates how to add various third-party (tiled|cached) map services to your ArcGIS API for Flex application using the WebTiledLayer class...
<LODInfo xsi:type="typens:LODInfo"> <LevelID>0</LevelID> <Scale>500000000</Scale> <Resolution>1.1897305029151397</Resolution> </LODInfo>
Tile Info: [INDENT]Height: 512Width: 512DPI: 96[INDENT]Levels of Detail: (# Levels: 16)Level ID: 0 [Start Tile, End Tile]Resolution: 0,3515625Scale: 147748799,285417Level ID: 1 [Start Tile, End Tile]Resolution: 0,17578125Scale: 73874399,6427087[/INDENT][/INDENT]...
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.