[Mapserver-users] query and zoom in one step

Richard Greenwood rich at greenwoodmap.com
Fri Feb 13 10:36:28 EST 2004


Frank Rittinger wrote:

> Hello list,
> 
> I was wondering:  Is there a way to do an itemquery, and zoom the map to 
> the found features in one step (in one CGI invocation)?  I.e. returning 
> the features attributes in the query template and the map image.

Yes, your template file would simply need to have an appropriate img tag 
  for the map, and attribute tags for the attribute data. Mapserver 
doesn't make a big distinction between the two types of data.

-- 
Richard Greenwood
www.greenwoodmap.com



More information about the mapserver-users mailing list