[Mapserver-users] How to set source image name?
David Fawcett
David.Fawcett at state.mn.us
Wed Dec 17 07:27:12 PST 2003
Orsi,
If you are working with the CGI version of Mapserver, the CGI variables
[img], [ref], [legend], and [scalebar] are what you are looking for.
Take a look at the CGI Reference:
http://mapserver.gis.umn.edu/doc40/cgi-reference.html
To show your reference map in your template file, you just use <img
src="[ref]">
For the primary map image, you can just use <img src="[img]"> if you
just want to show an image.
If you want to allow the user to click on the map to zoom, etc. you
will put it in a form. <input name="img" type="image" src="[img]"
border="0">
If you haven't downloaded and installed the demo, I highly recommend
that you do that. (I can't seem to find a link to it right now, or I
would point you there!)
David.
David J. Fawcett
MN Office of Environmental Assistance
>>> "Orsi Gyulai" <ogyulai at hotmail.com> 12/17/2003 7:50:27 AM >>>
Hello,
I wonder how I could set the source image file names which are
generated in the TEMP directory. It seems to generate a random number
for the file name.
Thanks
Orsolya Gyulai
MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*.
_______________________________________________ Mapserver-users mailing
list Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list