[OpenLayers-Users] Select geojson feature from hyperlink

Arnd Wippermann arnd.wippermann at web.de
Tue Jan 26 17:25:03 EST 2010


Hi,

>> onclick="selectCtrl.select('testspot')"> Locate Testspot 

You have to deliver a feature object instead of a string of an attribute
value.

selectCtrl.select(vector_layer.features[0])

Arnd





More information about the Users mailing list