On 02/28/2013 03:59 PM, Chris forum wrote:
> Hi all,
>
>
>
> pmapper 4.3 (Plainlayout4 / swap legend tab)
> mapserver 6.2
> php 5.3.3-7
> Debian server
>
>
>
>
>
> Bunch of general questions about p.mapper 4.3:
>
>
>
> 1) Is there a way to sort the legend entries automatically according to the
> class names?

you need to modify some PHP code for this in legend.php. You will have 
to sort the $classList array/dictionary by the name or description 
before writeClasses is called. I guess some debug output is required to 
understand the array structure.


> 2) When using COLOR [attribute], is it possible to populate the legend with
> the different attribute values?

I don't understand the question


> 3) What are the resetsession parameters available? I know 'ALL' and
> 'GROUPS' so far.

all session parameters can be reset, check the PHP session variables, 
there is a tool at
http://svn.pmapper.net/trac/browser/trunk/utils/readsession.php

that produces a better readable output

>
> 4) After a research or when using the Select tool, an object is highlighted
> on the map. How can we unselect it?

the map reload button does this. It can be any tool that calls the 
function PM.Map.clearInfo()

>
> 5) Where is specified the tool to be selected by default at startup?

  PM.Map.domouseclick('zoomin');
  PM.setTbTDButton('zoomin');

must be called with the desired tool after startup (maybe the first of 
them is not needed though)

>
> 6) Can a layer belongs to more than 1 group?

just try and see if it does what you expect...

>
> 7) Is there a way to show the attribute value in the hyperlink of a result
> table. For instance:
>
> "RESULT_HYPERLINK" "*AttributeValue*||link to attribute *AttributeValue*"

you could try to modify the Javascript template for the query, but 
that's a bit difficult to understand I fear if you don't know JS code 
well...

>
> 8) How can I set the zoom at startup to be fixed at 100'000, independantly
> of the map window size? So that when using the mouse scroll to zoom in,
> zoom levels are plain numbers (fractions of 100'000) and not something like
> 51'900, 25'950,…

you need to call the function
   PM.Map.zoom2scale(scale)
after startup. Could be put in a plugin as well.

>
>
>
> Regards,
>
> Chris
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to