Hi,

I have an KML layer which when a feature is clicked, a pop up opens. This is
working now. Thanks!

selectControl = new OpenLayers.Control.SelectFeature( kmlLayer,
                         { onSelect: onFeatureSelect,
                           onUnselect: onFeatureUnselect
                          });

I would like to trigger the onSelect 'event' (is it an event?) manually. I
tried doing the following with map.events.triggerEvent without success.

map.events.triggerEvent('clickevent', kmlLayer.features[0])

Can anyone help at all?

Xin
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to