[OpenLayers-Users] getFeatureInfo & event.text

Monty carlos.montalvillo at gmail.com
Fri Oct 9 09:47:23 EDT 2009



   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
> 
> 

-- 
View this message in context: http://n2.nabble.com/getFeatureInfo-event-text-tp3792949p3794703.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list