On 16/03/2012 16:35, Chris forum wrote:
> Sorry, sent it too fast... here again without errors:
>
> Sometimes there is a category that contains only one layer, e. g. in this
> example:
> http://www.pmapper.net/demo/p42/map_default.phtml?winsize=medium&language=en&config=default
>
> Category: Nature-spatial Data / Layer: Rivers
>
> For cases like that, is there an easy way to only display the layer in the
> tree, in 1 line without the +/-?

There is in my opinion no easy way, I would even say it could be quite 
cumbersome to achieve this. You will need to modify pm.toc.js and 
toc.php and try to understand the logic there. And

>
> That would simplify/shorten the TOC and make it more logical I think.

Which display is more logical than the other depends on the individual 
perception. It took me some time to set it up in the way as it currently 
is since this was what I personally found most intuitive, but of course 
this may vary much... ;-)

> Indeed, if the layer has been collapsed while being deactivated, it is not
> displayed into the map even if the category has got the check mark, which
> could be confusing.

You can deactivate the checkboxes for the categories, this will remove a 
functionality that could be handy, but also a source of confusion.

armin

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to