[OpenLayers-Users] WMS GetFeatureInfo

eoinyp eoinyp at yahoo.com
Thu Mar 11 08:40:53 EST 2010


Hi all,

I am trying to use GetFeatureInfo to display the properties of an object
when the user clicks on it. Exactly like in the demo given at:
http://openlayers.org/dev/examples/getfeatureinfo-popup.html
So for starters I copied the source code and tried to set the example up
locally.
But, it wont work when I set it up locally. I updated the openlayers.js
source to 
"<script src="http://www.openlayers.org/api/OpenLayers.js"></script>"
I changed nothing else.
The map renders fine, but when I click, nothing happens. There is a
javascript error logged:

Message: Access is denied.

Line: 1078
Char: 46
Code: 0
URI: http://www.openlayers.org/api/OpenLayers.js

Im falling before the first hurdle here...  so frustrating!
Any ideas on how to at least get the example working properly so that I can
proceed?!
Thanks,

Eoin
-- 
View this message in context: http://n2.nabble.com/WMS-GetFeatureInfo-tp4715952p4715952.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list