[OpenLayers-Users] Re: How it works WMSGetFeatureInfo??

Max Stephan max.stephan at gmx.net
Wed Feb 8 16:33:31 EST 2012


The path of OpenLayers.js must be relative to the location of your HTML-file.
Is that the case? What is Firebug showing you concerning the
OpenLayers-javascript? Is it loaded?

The ProxyHost-variable can be removed. You may only want to use it if you
have a proxy enabled (e.g. in your Apache). The variable is only pointing to
this proxy.

To test your HTML-file I´d recommend to put it into the www-folder of your
Geoserver (if that shouldn´t be the case already). By doing this you make
sure that you don´t get any cross-domain-policy-related problems. When you
launch the page you have to do it via a adress with this pattern
<url-of-your-geoserver>/www/<your-html-filename>.htm

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-it-works-WMSGetFeatureInfo-tp4361191p4377334.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list