Hi Smaran, Ok. was hoping that that might have been the easy fix.
I looked at your JSFiddle url. http://jsfiddle.net/qTFEa/4/ If you replace the OL url with the js from here http://openlayers.org/api/2.12-rc6/OpenLayers.js The pop up does seem to work. You aren't pulling in any vector layers there, but I presume that is because of proxy / js fiddle issues. Does that work for you? Is that not what you wanted? Toby On 8 June 2012 19:04, Smaran Harihar <[email protected]> wrote: > Hi Tobias, > > I changed the code (it was a dumb mistake) but I am still not able to get > the popup. > > Here is the JSFiddle <http://jsfiddle.net/smaran/qTFEa/2/> and my working > application <http://niles.iplantcollaborative.org/demo/geo/test/map.html>. > > Thanks, > Smaran > > > On Fri, Jun 8, 2012 at 1:48 AM, Tobias Reinicke <[email protected]>wrote: > >> You have spelled "eventListeners" wrong... >> >> >>> >>> var vector = new OpenLayers.Layer.Vector("VecPopInfo",{ >>> eventListners:{ >>> 'featureselected' :function(event) { >>> >> > > > -- > Thanks & Regards > Smaran Harihar > >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
