[Mapserver-users] savequery
Steve McCrone
ms57 at streamyx.com
Wed Mar 3 04:54:28 PST 2004
I'm using mapserver 4.0. I sue a javascript function to test finding a
lake - see my hidden values & function below.
I set the savequery="true", and the query file (eg.DEMO10783178743172.qy)
does get saved in the tmp directory. However, when I interact with my map
again, say "zoomout", the highlighted border around the lake polygon
dissapears. I wish to keep it there until the user clears it using a
javascript function. Does it have anything to do with the MAP_IMAGETYPE?
Thanks,
Steve
function findLake(){
document.mapserv.mode.value = "itemquery";
document.mapserv.savequery.value = "true";
document.mapserv.qlayer.value = "LAKE_QUERY";
document.mapserv.qstring.value = "BOWSTRING";
document.mapserv.mapext.value = "shapes";
document.mapserv.buffer.value = "1000";
document.mapserv.submit();
}
<input type="hidden" name="imgxy" value="299.5 299.5">
<input type="hidden" name="imgext" value="[mapext]">
<input type="hidden" name="map" value="[map]">
<input type="hidden" name="mapext" value="">
<input type="hidden" name="qlayer" value="">
<input type="hidden" name="qitem" value="">
<input type="hidden" name="mode" value="">
<input type="hidden" name="qstring" value="">
<input type="hidden" name="buffer" value="">
<input type="hidden" name="savequery" value="">
More information about the MapServer-users
mailing list