You need to log in before you can comment on or make changes to this bug.
Add a configuation parameter in mapdhtml (something like DELAYDRAW="[true|false]") that allows to output map files to temprary files instead of calling the drawmap.php when the page loads. This change seems to solve a esoteric bug in IE where sometimes the map is not rendered. here is an e-mail sent about the situation/solution : The changes are minmal : here is what I did : 1) MapDHTML.widget.php : in function GetJavascriptVariables (around line 468) : comment the 3 lines and add the 3 additional lines : //$url = WEBCOMMON."/wrapper/drawmap.php? map_session_mode=$nMapSessionMode&run_query=0&".SID.$szFatalImage; //if (!$bCWCJSAPI) //$url .= "&dummy=".urlencode(microtime()); $oMap = $this->moMapObject->oMap; $img = $oMap->draw(); $url = $img->saveWebImage(); 2) in MapDHTML.js : function MapLayerDivImgOnLoad comment the line : //url = url + "&UniqId="+unique; AFAIK : this chaneg does not affect any widgets except the Query widget when using the persistent results anf highlight results. Maybe Paul knows more about other widgets.
e-mail from Bart : This needs to be taken into account : I do not yet know what the problem is though : Btw, I do have a lot of the following Mapserver error messages in my Apache error log using this approach: [Wed Dec 08 21:32:54 2004] [error] [client 192.168.3.4] Wed Dec 08 21:32:53 2004 - msRASTERLayerOpen(): General error message. Attempt to open a RASTER layer, but this is only supported after a raster query.\r, referer: http://www.vz.geodan.nl:1111/geoservices/index.phtml And sometimes an ECW does not turn up after zoom in, i.e. I get a complete empty page (no client) when zooming in on this ECW.
If we are in JSAPI mode, we do not use this new functionnality. A warning is produced.
Did this end up in Chameleon 2.0?