[ka-Map-users] RE: Think There is a bug in map_query_float.php
Steve Walker
walker at mfgis.com
Sat Jun 23 14:44:54 EDT 2007
I'll give this a look in early July.
-Steve
>
> Message: 3
> Date: Sat, 23 Jun 2007 15:38:54 +0200
> From: Lorenzo Becchi <lorenzo at ominiverdi.com>
> Subject: [ka-Map-users] RE: Think There is a bug in
> map_query_float.php
> To: ka-map-users at lists.maptools.org
> Message-ID: <467D226E.8090208 at ominiverdi.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> 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
--
Steve Walker
Middle Fork Geographic Information Services
walker at mfgis.com
360-671-2505
More information about the ka-Map-users
mailing list