[OpenLayers-Users] getFeatureInfo & event.text

Monty carlos.montalvillo at gmail.com
Fri Oct 9 11:25:52 EDT 2009



Alexandre, 


I don't really know...


I´m using version 2.8. 

So, when testing my geoserver, I can use this url : 
http://www.ddond.com:8080/geoserver/wms?bbox=-1.8199148654937751,43.17675437927251,-1.130132150650025,43.71184120178219&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:communes&width=800&height=582&srs=EPSG:4326
Here 

   ... I can read data from database.


So, I can't read these values with html pages placed outside the port :8080


I think is (may be) a misconfiguration from my system, so I'm really stopped
: I don't know how can I do to solve this...


Any help would be great for me.


Merci,


Monty



Alexandre Dube wrote:
> 
> Hi Monty,
> 
> What is the OpenLayers version you are using ? Could your problem be 
> related to the following ticket ? If so, it's fixed in trunk so either 
> try the trunk version or apply the patch in the ticket :
> http://trac.openlayers.org/ticket/2201
> 
> Regards,
> 
> Alexandre
> 
> Monty wrote:
>>    Somebody has the same problem ?
>>
>>    Thanks, 
>>
>>    Carlos
>>
>>
>> Monty wrote:
>>   
>>> Hi all,
>>>
>>> I'm trying to create a popup for my openlayers map using :
>>>
>>>             eventListeners: 
>>> 			{   getfeatureinfo: function(event) 
>>> 				{map.addPopup(
>>> 				     new OpenLayers.Popup.
>>> 					     FramedCloud(
>>>                          "chicken", 
>>>                          map.getLonLatFromPixel(event.xy),
>>>                          null,
>>>                          event.text,
>>>                          null,
>>>                          true
>>>                     ));
>>>                 }
>>>             }
>>>             });
>>>
>>> So, the result for clicking objects in the map is allways "parameter
>>> FORMAT is required"
>>>
>>> You can test it at "http://www.ddond.com/GeoBidasoa/Bidasoa.html
>>>
>>> Any ideas ?
>>>
>>> Thanks for your help,
>>>
>>> Carlos
>>>
>>>
>>>     
>>
>>   
> 
> 
> -- 
> Alexandre Dubé
> Mapgears
> www.mapgears.com
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/getFeatureInfo-event-text-tp3792949p3795346.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091009/351b1b5d/attachment.html


More information about the Users mailing list