Query and Map reload

Eduardo Zenaide ezenaide at GMAIL.COM
Fri Jan 19 10:06:26 PST 2007


Steve,

to be more especific, i'm using javascript to do queries. so i'm trying to
convert on variables some mapserver parameters to build the map based on the
query.
so far i have these:

    var layer = document.pesquisa.layersList.value; //html comboBox to
select layer
    var item = document.pesquisa.busca.value; //html input value
    var operador = document.pesquisa.operadores.value; //another comboBox
for operators

and now the big problem. the next variable is based on html inputs i
generate through $gpoMap->extent->minx, for example. but it will return the
last map extension, not the one based on the query.

    var minx = "minx=" + window.opener.document.myform.var_minx.value + "&";

so, what i want is how to know the extension (minx, miny...) from the query.
how to know the extension the query will return before the user submit?


thanks

-- 
Eduardo Zenaide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070119/22301194/attachment.htm>


More information about the MapServer-users mailing list