[mapserver-users] Back from query
David Turover
dturover at student.santarosa.edu
Mon Jul 29 14:58:07 PDT 2002
> I 'm using mapsever and I'm having the following problem.
>
> I had created a submit button to back to the where the original map is
> after mapsever execute a query.
> This is the code:
>
> <input type="submit" name="Submit" value="Back">
> </th>
> </tr>
> </table>
> <input type="hidden" name="map" value="[map]">
> <input type="hidden" name="savequery" value="true">
> <input type="hidden" name="zoomsize" value=2>
> </form>
>
> But when it happens all the layers are reset.
> And i want to back and keep all selected layers.
>
> Can i do it?
>
> Thanks
> João.
>
You will want to have hidden <input> tags to repeat all of the environment
variables used by the query page, with these three exceptions:
Set mode to "browse" or simply don't set it (browse is the default)
Make img.x half the width of your image
Make img.y half the width of your image
More information about the MapServer-users
mailing list