ThinkGeo.com    |     Documentation    |     Premium Support

Grid Tile Refresh

Hi,

I have loaded a very small grid file to my map. When I move around the map, it redraws in a very sluggish manner and has lots of aliasing.

Also, if I toggle the layer visibility on and off, it will not redraw at that zoom level until I zoom out or in first.

I have a video of this that I will email to you as it will not allow me to attach it here.

SingleTile will be better for your scenario, but MultiTile should not be that slow if it’s a small file, can you send over the grid file to us?

What’s the “aliasing” you meant? can you give me a specific sample?

Toggling the layer visibility will not redraw the layer until the overlay that holds the layer is refreshed (layerOverlay.RefreshAsync()). Or you can just set layerOverlay.IsVisible to true or false.

See attached. I tried using SingleTile which still took forever, but at least did not build one tile at a time. Note that this is way slower than v10.

MC Synthetic bathy.zip (805.2 KB)

On the aliasing, it is showing me grid cells that aren’t really the grid cells themselves. It’s very odd and looks terrible compared to v10. You can also clearly see the tiles themselves after rendering which is not good. This is not the only layer that shows the tiles either. Regular area shape files look like this when they have a fill color.

What is the difference between map.RefreshAsync(LayerOverlay) and LayerOverlay.RefreshAsync? There seems no end to the differences between v10 and v14… Is there documentation for this somewhere?