Re: [OpenLayers-Users] Select geojson feature from hyperlink

2010-01-26 Thread Arnd Wippermann
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

Re: [OpenLayers-Users] Select geojson feature from hyperlink

2010-01-26 Thread Jtrsmith
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

Re: [OpenLayers-Users] Select geojson feature from hyperlink

2010-01-22 Thread Jtrsmith
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

Re: [OpenLayers-Users] Select geojson feature from hyperlink

2010-01-13 Thread Eric Lemoine
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

[OpenLayers-Users] Select geojson feature from hyperlink

2010-01-13 Thread Jtrsmith
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