[UMN_MAPSERVER-USERS] How keep the Selection of the layers in HTML

Skweda O'Bomsawin sobomsawin at KASSINI.COM
Thu Sep 9 06:14:54 PDT 2004


Pierre,

You can keep your selection active while using mapscript as CGI, but it's a
little bit tricky.  What you have to do is to make your selection with a
query or nquery mode, catch the unique ids of elements selected which
Mapserver will return and insert these values into an URL with itemnquerymap
or itemquerymap mode, or simply create a new layer and use a filter...
Personally, I use Java and Mapscript CGI to do this and it works like a
charm!

Hope this can help...

Skweda O'Bomsawin


-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Pierre RELLA
Envoyé : 9 septembre 2004 03:12
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : [UMN_MAPSERVER-USERS] How keep the Selection of the layers in HTML

Hi,
        In "html" when i refresh the page, the new page lost the selection
of the
layers. How can i keep the previous selection? I think using PHP .If
somebody have a script ....

Best Regards

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.752 / Virus Database: 503 - Release Date: 2004-09-03
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.752 / Virus Database: 503 - Release Date: 2004-09-03
 



More information about the MapServer-users mailing list