ThinkGeo.com    |     Documentation    |     Premium Support

FileBitmapTileCache LoadingTileImage

In FileBitmapTileCache there is a property called LoadingTileImage but it does not have a setter.
What image is used here?
Can I set it to something myself?
When is the image shown?

All info I found in ThinkGeo pages just said N/A about this property.

Hi Morten,

This property doesn’t be used any more in WPF desktop edition. It renders an image from resource called “loadingTile” like below and there is no setter for it.

Thanks,
Peter

ok, thanks.

Is there another way to show on the map where e.g. a Shapefile is loading?
(It does not have to relate specificly to TileCache).

Tilecache is still supported in general, yes?

Hi Morten,

In fact the loading image is usually used for web based version, for local version the loading speed is so fast so we don’t need it.

If you found a shape file is loading slow, please

  1. Build index for it
  2. Open cache for the overlay
  3. Adjust your render logic to make sure you don’t render too many shapes at the same extent

But if you have a scenario you want to load a totally new shape file and which will make the UI looks not responding, I think you can implement that your self.

  1. You can draw a static image on map when you tried to load a shape file, for example you can set a special overlay which contains a LogoAdornmentLayer, then you can use this layer to display a static image

  2. When you start load a big shape file, you can show the overlay by your event

  3. When the shape file loaded succeed, you just need hide this, you can implement that by some event like overlay.Drawn

Wish that’s helpful.

Regards,

Don

Thank you for the info Don.

I agree that when you have tiles ready in the cache there is no need for a loading image.

/Morten

Hi Morten,

Don is out of the office today and very glad to hear it’s helped.

Any questions please let us know.

Thanks,
Peter