[ka-Map-users] Re: TIP/Question: Sending Query Results to "Content" div on top of the map

Steve Walker walker at mfgis.com
Tue Jun 19 12:27:01 EDT 2007


I think I solved this one:

Instead of
>
>     showContent('map_query.php?' + params);
>

The line should be

      showContent('map_query_float.php?' + params);

Which has the benefit of picking up the layer query metadata as well.


Also, when somebody clicks on the 'Zoom to' magnifying glass on the query
results table, it should then be closed (because the user is returning to
the map).  So, in map_query_float.php at around line 310 I have added the
hideContent() directive, so that the line now reads:

// ZOOM TO EXTENT
echo "<td align=\"center\"><a href=\"#\"
onClick=\"myKaMap.zoomToExtents($xmin,$ymin,$xmax,$ymax);hideContent();\"><img
id=\"toolZoomInMini\" src=\"images/a_pixel.gif\" alt=\"zoom
to\"></a></td>";


-Steve



-- 
Steve Walker
Middle Fork Geographic Information Services
walker at mfgis.com
360-671-2505



More information about the ka-Map-users mailing list