Use:
config.objects.mainMap.setHidden('TasmaniaCities', true) to hide
or
config.objects.mainMap.setHidden('TasmaniaCities', false) to show
Luca
On 7/27/07, Carlos Fernando Gonçalves <[EMAIL PROTECTED]> wrote:
> Hi all.
> I am wanting to make to layer to hide.
> My sample
> http://localhost:8080/mapbuilder/demo/openlayers/index.html
> Put the code in the page html:
> <a
> href="javascript:model.setParam('hidden','TasmaniaCities');"/>HERE</a>
> This this correct?
> Don't work.
> Please help me.
>
> Best regards
>
> --
>
> Carlos FG
> -------------------------------------------------------------------------
> 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-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>
>
-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users