I knew SingleTile and MultipleTile LayerOverlay TileTypes, but what is it Hybrid mode?
TileType.HybridTile
Hi Carlos,
Single tile mode is always synchronous, it fills the blank space after one panning operation is done, and that blocks the thread.
Multiple tile mode is always asynchronous; it fills the blank space while the panning operation is going on.
Hybrid tile mode draws asynchronously, which is like the multiple tile; it fills the empty space after one panning operation is done, which is like the single tile mode, but the filling process is asynchronous.
Hope this can be of help.
Regards,
Tsui
Hi Tsui,
Hybrid tiles are behaiving like Multiple tile for me, async load, but multi tiled instead of single tiled (icons are chopped off if I dont set the DrawingMarginPercentage as in MultiTile). Is it normal? I thought it was like a SingleTile but with async load.
Carlos.
Hi Carlos,
Hybrid mode draws with multithread. So you can continuously pan. While panning, the new tiles won’t come into the map until user stops panning. It looks like single tile but one thing different is that: Single tile mode draws synchronously, it stops responding until the whole tile is drawn. Hybrid allows you to keep panning, after one panning operation (Drag and mouse up), the new tiles come in to the map and continuously draw asynchronously.
Summary: Hybrid Tile draws like MultipleTile while pans like SingleTile. The advantage is that during panning, we don’t need to keep adding tiles into the logical tree and the panning effect is better in this mode. So we recommend using MultipleTile if works with a good graphic card; while if you think the panning is not smooth, we recommend using HybridTile.
Feel free to let me know if you have any questions.
Thanks,
Tsui