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
___
Users mailing list
Users@openlayers.org
http://open
I have looked into this a little more, however i still cannot get it to work.
everthing works as far as the map is concerned. but my link to locate the
feature is not working.
here is what i have so far:
var map, layer;
function init(){
map = new O
Could you share an example of how to add the selectfeature to do this?
I am still new to openlayers and only have limited knowledge of JavaScript.
--
View this message in context:
http://n2.nabble.com/Select-geojson-feature-from-hyperlink-tp4385578p4443182.html
Sent from the OpenLayers Users mai
On Thursday, January 14, 2010, Jtrsmith wrote:
>
> I have a map that is displaying a set of polygons from geojson, when selected
> these polygons display a popup which contains attributes from the geojson.
>
> Is it possible to have a link on the page (not on the map) that will trigger
> the selec
I have a map that is displaying a set of polygons from geojson, when selected
these polygons display a popup which contains attributes from the geojson.
Is it possible to have a link on the page (not on the map) that will trigger
the selectfeature event?
I would like to have a list of the feature