[mapguide-trac] #1300: Chrome basic web layout and base layer,
zooming in/out will make features disappear
MapGuide Open Source
trac_mapguide at osgeo.org
Fri Mar 26 04:45:23 EDT 2010
#1300: Chrome basic web layout and base layer, zooming in/out will make features
disappear
-------------------------+--------------------------------------------------
Reporter: liuar | Owner: liuar
Type: defect | Status: new
Priority: medium | Milestone:
Component: AJAX Viewer | Version: 2.1.0
Severity: major | Resolution:
Keywords: | External_id: 1311532
-------------------------+--------------------------------------------------
Comment (by liuar):
Comments from Chris[[BR]]
This appears to be a defect in the way Chrome caches images. It is
possible to resolve the problem by making each tile request URL unique.
This can be done by adding a timestamp parameter as shown below in the
if(chrome) section.
function RequestTile(col, row, tilex, tiley)
{
...
...
url = webAgent + "?OPERATION=GETTILEIMAGE&VERSION=1.2.0&SESSION="
+ sessionId + "&MAPDEFINITION=" + encodeComponent(mapDefinitionName) +
"&BASEMAPLAYERGROUPNAME=" + encodeComponent(baseGroups[k]) + "&TILECOL=" +
tilex + "&TILEROW=" + tiley + "&SCALEINDEX=" + sci + "&CLIENTAGENT=" +
encodeComponent(clientAgent);
if(chrome)
{
var timestamp = new Date().getTime();
url += ('&TS=' + timestamp);
}
...
...
...
}
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/1300#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list