I'm not sure it has to do with this but... you are defining var tweetz outside and inside init_tweet() try using a different name for one of them if they are supposed to be different objects
-- View this message in context: http://osgeo-org.1560.n6.nabble.com/layer-is-undefined-tp5005358p5005391.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
