[OpenLayers-Users] getFeatureInfo & event.text

Monty carlos.montalvillo at gmail.com
Fri Oct 9 03:39:27 EDT 2009



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-tp3792949p3792949.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list