Turning off Tile Animation

776
2
06-26-2012 05:10 AM
RussellShirley
New Contributor II
Hi All,

I have been using the Local Tiled Layer sample as a test bed for designing tile packages. I have found that the animation between the tile levels is distracting if the tiles are all points and lines, especially if layer visibility is different at each level. I found the ???enableTileAnimation??? property in the API reference but can???t find it in the sample.

What am I missing?

Thanks, Russell
0 Kudos
2 Replies
DiveshGoyal
Esri Regular Contributor
You need to cast the object returned by [AGSMapView addMapLayer] to AGSTiledLayerView.
        AGSTiledLayerView* tiledLyrView = (AGSTiledLayerView*) lyrView;
        tiledLyrView.enableTileAnimation = NO;


However, this will turn off all animation  and may compromise UX in other situations (such as panning).
Can you upload a small video capture on YouTube displaying the problem you're seeing? We'd like to understand it more so that we may investigate better ways to improve the UX.

Thanks
0 Kudos
AndriyGalushka
New Contributor III
is similar property exists in 10.x SDK?
0 Kudos