Re: [pmapper-users] TOC - Category with only one layer

2012-03-20 Thread Chris forum
Thanx for your answer.
I will live with it for now, and play with the files you pointed out if I
find some time to. But you are right, logic/intuition may vary a lot from
one person to another!

In the meanwhile I have tested pmapper 5-dev demo, looks very promising!
I noticed you have created a new level in the tree with the so called
'Domains', great!
I also saw that one have to choose from the Blue Marble layer or the OSM
one, both can not being displayed together, which makes sense.
If I may throw an idea here, that would be to have a separate section for
'background' layers that you can select with radio buttons like in
OpenLayers, in order to have only one of them selected at a time.

If I dare again make some proposals, the following web site (using the
complicated Mapfish) has some nice GoogleEarth and StreetView
functionalities : http://sitn.ne.ch/

Thx again for the good job!
BaK


On Sat, Mar 17, 2012 at 4:27 AM, Armin Burger armin.bur...@gmail.comwrote:

 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=**
 mediumlanguage=enconfig=**defaulthttp://www.pmapper.net/demo/p42/map_default.phtml?winsize=mediumlanguage=enconfig=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


Re: [pmapper-users] TOC - Category with only one layer

2012-03-20 Thread Armin Burger
On 20/03/2012 13:05, Chris forum wrote:
 If I may throw an idea here, that would be to have a separate section
 for 'background' layers that you can select with radio buttons like in
 OpenLayers, in order to have only one of them selected at a time.


avoiding this weird separation between base layers and overlays was one 
of the demanding challenges to achieve when incorporating OL... but if 
you want to have it back, just define a category as Overview Layers 
and define all layers inside as mutually disabling. Only difference to 
standard OL is that you will still have checkboxes instead of radio buttons.

 If I dare again make some proposals, the following web site (using the
 complicated Mapfish) has some nice GoogleEarth and StreetView
 functionalities : http://sitn.ne.ch/

You should be able then to write your plugin that does this, maybe it 
even exists already for OL...

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


Re: [pmapper-users] TOC - Category with only one layer

2012-03-17 Thread Armin Burger
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=mediumlanguage=enconfig=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


[pmapper-users] TOC - Category with only one layer

2012-03-16 Thread Chris forum
Hello,

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=mediumlanguage=enconfig=default

Category: Nature-spatial Data / Layer: Rivers

For cases like that, is there an easy to only display the layer in the
tree, in 1 line with the +/-?

That would simplify/shorten the TOC and make it more logical I think.
Indeed, if the layer has been collapsed while being deactivated, it is not
displayed in to the map even if the category has got the check mark, which
could be confusing.

Kind regards,
BaK
--
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


Re: [pmapper-users] TOC - Category with only one layer

2012-03-16 Thread Chris forum
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=mediumlanguage=enconfig=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 +/-?

That would simplify/shorten the TOC and make it more logical I think.
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.

Kind regards,
BaK


On Fri, Mar 16, 2012 at 9:22 AM, Chris forum bak.fo...@gmail.com wrote:

 Hello,

 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=mediumlanguage=enconfig=default

 Category: Nature-spatial Data / Layer: Rivers

 For cases like that, is there an easy to only display the layer in the
 tree, in 1 line with the +/-?

 That would simplify/shorten the TOC and make it more logical I think.
 Indeed, if the layer has been collapsed while being deactivated, it is not
 displayed in to the map even if the category has got the check mark, which
 could be confusing.

 Kind regards,
 BaK

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