Image Map - no picture

Kai Behncke kbehncke at IGF.UNI-OSNABRUECK.DE
Tue Nov 14 09:59:37 PST 2006


On Mon, 13 Nov 2006 10:34:29 -0600, Steve Lime wrote
> Do you have a querymap object defined? Is it's status set to on?
> 
> Steve
> 
Hello Steve, thank you very much. I had not, but now it works fine:-)

For everbybody:

In the mapfile you need something like that:
QUERYMAP
SIZE 500 500
STATUS ON
STYLE NORMAL
END

If the header-html-file looks like :
<map  name="mymap">

it is important to have a reference to that in the footer.html (I didn`t have 
in my last posting), like:

</map>
<img name="map" src="http://localhost[img]" width="500"
height="500" usemap="#mymap>     

Greeting, Kai

> --
> Dipl.-Geogr. Kai Behncke
> 
> Institut für Geoinformatik und Fernerkundung (IGF)
> Universität Osnabrück
> Kolpingstr. 7
> 49074 Osnabrück
> 
> Raum: 01/308
> Tel.: +49 541 969-4450
> E-Mail: mailto:kbehncke at igf.uni-osnabrueck.de 
> Web:  http://www.igf.uni-osnabrueck.de


--
Dipl.-Geogr. Kai Behncke

Institut für Geoinformatik und Fernerkundung (IGF)
Universität Osnabrück
Kolpingstr. 7
49074 Osnabrück

Raum: 01/308
Tel.: +49 541 969-4450
E-Mail: mailto:kbehncke at igf.uni-osnabrueck.de 
Web:  http://www.igf.uni-osnabrueck.de



More information about the MapServer-users mailing list