lynnew82

custom tiled layer with wrong AGSTile infomation?

Discussion created by lynnew82 on Mar 8, 2012
Latest reply on Apr 10, 2012 by njarecha-esristaff
hi,
   I'm work on the custom tiled layer sample and place a exploded tile folder in the app., the largest scale of which in the tiling scheme is about 1:250.
   When I browse the tiles on ipad,the tiles arrange regularly when the map scale is smaller 1:500???
   but if i browse to the last level,map scale is about 1:250,the tiles retured very abnormal. It looks like the new and wrong placed 1:500 tiles overlap the expanded 1:500 tiles i just browsed.
   I also set a breakpoint in the function  (NSOperation<AGSTileOperation>*) retrieveImageAsyncForTile:   (AGSTile *)  tile   {?????????}
   and found out the level property of the *tile is wrong.

   Has anyone met this problem before? And what's wrong with it?

  p.s. The tiles display normally  in Flex api.
   Here is the LOD infomation:
- <LODInfos xsi:type="typens:ArrayOfLODInfo">
- <LODInfo xsi:type="typens:LODInfo">
  <LevelID>0</LevelID>
  <Scale>2254.467762533835</Scale>
  <Resolution>5.3644181298506988e-006</Resolution>
  </LODInfo>
- <LODInfo xsi:type="typens:LODInfo">
  <LevelID>1</LevelID>
  <Scale>1128.4971760000001</Scale>
  <Resolution>2.6852150254815902e-006</Resolution>
  </LODInfo>
- <LODInfo xsi:type="typens:LODInfo">
  <LevelID>2</LevelID>
  <Scale>564.24858800000004</Scale>
  <Resolution>1.3426075127407951e-006</Resolution>
  </LODInfo>
- <LODInfo xsi:type="typens:LODInfo">
  <LevelID>3</LevelID>
  <Scale>282.12429400000002</Scale>
  <Resolution>6.7130375637039756e-007</Resolution>
  </LODInfo>
  </LODInfos>

Outcomes