I find a way to solve it, not a good way, but it works

  in query.php, add the following code to Function Query

  //quick and dirty fix         
  if (! isset($this->querygroups["precip_q24"])){
         $this->querygroups[]="xxxx";
     }


Thanks.

On 11/1/07, Tuku Man <[EMAIL PROTECTED]> wrote:
> Dear pmapper developer:
>
>
>    I have a problem about query here,
>    when user uses "Identify" tools, there are some layers which must
> be include in the query group, it doesn't matter users turn on them or
> not.
>
>   I use the following code to do the job in one of small application,
> before call "@$theMap->queryByPoint"
>    $qLayer = $theMap->GetLayerByName("xxxx");
>    $qLayer->set("status",MS_ON);
>
>   However, I am not sure where to insert this code to pmapper.
>
>   Is there any other way to do it in pmapper?
>
> Thanks very much!
>
> Tuku Man
>

-------------------------------------------------------------------------
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/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to