Hi all,

the reference to refresh=="sld" can be removed , it was used by the SLD 
Editor but like said Cameron , Ol guys works on a Openlayers solution.

clearWidget2 was created because the refresh of MapPaneOl didn't destroy 
all the map div component and create   2  OpenlayersViewPort div, this 
work have be done with an old version of  OL so  if  you don't see any 
bugs when refreshing the context Model without  these lines , removes it.

It was a quick hack to make  the SLD Editor work with MappaneOL.


Andreas Hocevar a écrit :
> 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
>
>   


-------------------------------------------------------------------------
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

Reply via email to