probably a bit tricky since the treeview plugin for jQuery sets all 
styles and you would need to overwrite this.

You can do the following: add the following lines at the end of the last 
</script> block in the map_...phtml file inside the
<head>...</head> block:


     function hideUnwantedLayers() {
         $('#ligrp_cities10000eu, #ligrp_countries').hide();
     }

     PM.pluginTocInit.push('hideUnwantedLayers()');


All layers need to be inserted in the $() block with the syntax

$('#ligrp_LAYERNAME1, #ligrp_LAYERNAME2, #ligrp_LAYERNAME3')

Another workaround could be to put all those layers in 1 single 
MapServer group, so p.mapper sees them not as separate layers but just 
under the same group under the category.

armin

On 18/12/2012 20:39, Serge Claudio Rafanoharana wrote:
> Dear All,
>
> I would like to ask whether it is possible or not to have a category
> containing for example 5 layers with the expand button/symbol (the sign +
> in front of the category) disabled. I mean I only want the category's name
> while all 5 layers active but people would not be able to see those layers.
> I hope you understand what I need.
>
> Cheers,
> Serge
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to