Hi Eric, thanks for your reply. The problem is solved. Everything with the included classes was right, but the order they were loaded, was wrong. The class Wetter4.js, which includes TMS.js was first loaded before TMS.js. So the error occured. What I had to do is editing full.cfg, and put Wetter4.js in the [last]-section.
cheers, Marco -------------------- [first] [last] OpenLayers/Layer/Wetter4.js [include] [exclude] Firebug OpenLayers.js OpenLayers/Lang -------------------- -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/P-is-undefined-Error-after-builing-a-singleFile-edition-tp6728395p6736930.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
