[ka-Map-users] RE: Think There is a bug in map_query_float.php

Lorenzo Becchi lorenzo at ominiverdi.com
Sat Jun 23 09:38:54 EDT 2007


Steve, thanks for your patch.
I've tried it but there's still an error: if you check or uncheck 
queriable layer in the "i" button from the legend you're 
map_query_float.php will query all queryable layers anyway.
I mean, your script works great when you startup ka-map and all layers 
are left queryable; if you deactivate one of the layers from the legend 
it will we queried anyway.
this happens both if you uncheck visibility or queryable button.

do you have time to correct this?

I've just changed and committed this:
---------------------------------
$oResultCache = $oLayer->getResult($a);
to
$oResultCache = $oLayer->getResult(0);
---------------------------------

ciao
Lorenzo


More information about the ka-Map-users mailing list