Looking at your code snippet, (and not the code), I'm guessing that the
clearWidget2 will remove the contents of the widget before redrawing,
which will probably cause an undesirable flicker in most circumstances.
Andreas Hocevar wrote:
> Hi,
>
> does anybody know the reason why we do the following in
> lib/widget/MapPaneOL.js?
>
> 152 if(!objRef.model.map || refresh=="sld"){
> 153
> 154 if(refresh=="sld") {
> 155 objRef.clearWidget2(objRef);
> 156 }
>
> IMO the refresh event should always re-parse the model, or am I
> missing something here?
>
> Regards,
> Andreas.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> mapbuilder-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
>
>
--
Cameron Shorter
Geospatial Systems Architect
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254
Think Globally, Fix Locally
Commercial Support for Geospatial Open Source Software
http://www.lisasoft.com/LISAsoft/SupportedProducts.html
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel