[OpenLayers-Users] WMSGetFeatureInfo doesnt seem to work
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Thu Sep 3 12:30:23 EDT 2009
I think Andreas meant
{
layers: 'topp:Studentenwohnheime',
transparent: 'true',
format: 'image/gif'
} ,{srs: 'EPSG:31467'}
See the constructor parameters
http://dev.openlayers.org/apidocs/files/OpenLayers/Layer/WMS-js.html#OpenLayers.Layer.WMS.OpenLayers.Layer.WMS
Also, you can try putting this line
map.addLayers([wms, studiwohn]);
after the var info statement. For some reason it worked for me but I have
no explanation. I'd like to know why.
Also, do you use mapserver? do you have a template key define in your
layers?
Steve
Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3
Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.toutant at inspq.qc.ca
http://www.inspq.qc.ca
Dominik Wiedner <dominikwiedner at web.de>@openlayers.org
Envoyé par : users-bounces at openlayers.org
03/09/2009 12:19 PM
A
users at openlayers.org
cc
Objet
Re: [OpenLayers-Users] WMSGetFeatureInfo doesnt seem to work
Hi Andreas,
So in what part of my code would this definition have to be made?
Kind regards,
Dominik
--
View this message in context:
http://n2.nabble.com/WMSGetFeatureInfo-doesnt-seem-to-work-tp3561729p3574372.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090903/58cf74bd/attachment.html
More information about the Users
mailing list