On Friday, August 21, 2009, Nicholas Efremov-Kendall <n.e.kend...@gmail.com> wrote: > Hi all, > I'm still having troubles with my popups. I don't think I fully grasped > Eric's advice. The error I get in Safari's error console is the following > result of expression popup is not an object, referencing line 10 of my code > and line 803 of Openlayers.js (2.8). Any suggestions?
"featureunselcted" listeners also receive an object with a feature. So use evt.feature in the onFeatureUnselect function as well. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.lemo...@camptocamp.com http://www.camptocamp.com _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users