[OpenLayers-Dev] Cannot set Feature popupClass.

Leandro R learonco at gmail.com
Mon Feb 25 12:47:27 EST 2008


Hello all !!!

I need to change the popup class of a Feature object. I've tried to do it as
the following, but it has not worked.

feature = new OpenLayers.Feature(layer, new OpenLayers.LonLat(lng,lat),
{popupClass:'OpenLayers.Popup'});

I don't want to change that from the file Feature.js.

Can anyone help me?
Thanks
Leandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20080225/56978828/attachment.html


More information about the Dev mailing list