[OpenLayers-Users] WMS GetFeatureInfo
Bart van den Eijnden
bartvde at osgis.nl
Thu Mar 11 08:44:50 EST 2010
See:
http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#WhydoIneedaProxyHost
Best regards,
Bart
On Mar 11, 2010, at 2:40 PM, eoinyp wrote:
>
> 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.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
More information about the Users
mailing list