Tile Overlay Refresh

We are rendering overlay tiles in VE and we need a way to refresh our overlay tiles already present (loaded) in a VE session. There does not appear to be a way to do this.

I have tried: DeleteLayer and DeleteTileSource and then re-add (AddTileSource and AddLayer)...we even tried deleting everything and reloading the map Map.LoadMap...

Our overlay tiles just immediately re-appear instead of the source in GetTilePath getting called again.

What can we do




Answer this question

Tile Overlay Refresh

  • Kirti Mistry

    Yes, this definitely sounds like a browser caching issue. I'm not sure if there is any way to force the client's browser not to cache the tiles; John's idea of checking IIS is a good one, but its been years since I really dug in to IIS. Perhaps a post on an IIS forum might yield some interesting results
  • CharlieRussell

    Sounds like the tiles are getting cached maybe look into how to set images served by IIS not to be cached by the client or reduce the period

    Sorry i can't help.

    John.



  • Terry A. King

    That is one clever and elegant solution, Brian! Glad you got it solved.


  • bishoycom

    We resolved it...yes, it was a browser caching issue. Our GetTilePath points to a custom http handler to generate the tile images. All we had to do was convince the browser the same tile (xPos, yPos and zoomLevel) was actually a new tile by adding a superfulous parameter on the query string (e.g. &tileIdx=x where x increments whenever we need to refresh) Thanks folks, the previous post got us in the right direction.

    --Brian



  • Tile Overlay Refresh