[OpenLayers-Users] getFeatureInfo & event.text
Alexandre Dube
adube at mapgears.com
Fri Oct 9 10:57:20 EDT 2009
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
More information about the Users
mailing list