date drop down menu
Danna Dowdy
Danna.Dowdy at NOAA.GOV
Wed Oct 26 14:47:31 PDT 2005
I am using Chameleon 2.0...maybe I should post this on a different list?
Sorry, I'm very new to MapServer/Chameleon....
Stephen Woodbridge wrote:
> The answer depends on what API to mapserver you are using. If you are
> using CGI then it might be a simple as defining a form on your page
> the is submitted to mapserver where the drop name is YEAR and is
> assigned a value that is the view name and then in your mapfile use
> %YEAR% as a variable substitution in the DATA "... %YEAR% ..." statement.
>
> -Steve Woodbridge
>
> Danna Dowdy wrote:
>
>> I am working on a basic mapping application that currently displays
>> data from a spatial database based on variable groupings. I have
>> individual views set up for each individual layer and have the
>> grouping set up in the legend template. I would like to add a drop
>> down menu somewhere on the interface so that the user could select a
>> year and plot whatever layers are chosen for that particular year.
>> Could someone point me in the right direction of how to do this?
>>
>
More information about the MapServer-users
mailing list