The only thing that you need to do is get the feature from the layer, you
can use its ID, and call the function for this feature, for example:

    var myFeature = myLayer.getFeatureById(myFeatureID);
    onFeatureSeleccMyFuction(myFeature );

2012/2/28 Shadin <[email protected]>

>
> I have successfully created popups when user click on any feature ( vector
> &
> wfs protocol ).
>
> also i've added a function to display exact one feature and i need make its
> popup open automatically. and of course close when i click on closebox as
> usual.
>
> so.. i can't use:  events.on({
>                "featureselected": onFeatureSelect,
>                "featureunselected": onFeatureUnselect
>            });
>
> any ideas ?
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/popup-open-automatically-tp4530011p4530011.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Atte,

Cúmar Cueva, Ing
Sistemas Informáticos y Comp.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to