[Mapbender-commits] r3372 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Jan 2 04:01:42 EST 2009


Author: christoph
Date: 2009-01-02 04:01:41 -0500 (Fri, 02 Jan 2009)
New Revision: 3372

Modified:
   trunk/mapbender/lib/core.js
Log:
added eventBeforeInit

Modified: trunk/mapbender/lib/core.js
===================================================================
--- trunk/mapbender/lib/core.js	2008-12-19 17:39:49 UTC (rev 3371)
+++ trunk/mapbender/lib/core.js	2009-01-02 09:01:41 UTC (rev 3372)
@@ -42,6 +42,11 @@
 var eventInit = new MapbenderEvent();
 
 /**
+ * Triggered before eventInit.
+ */
+var eventBeforeInit = new MapbenderEvent();
+
+/**
  * Triggered after Mapbender is loaded and has been initialised.
  * Used to trigger initial map requests
  */
@@ -171,6 +176,8 @@
 	// creates the map objects (mapframe1, overview...)
 	eventInitMap.trigger();
 
+	eventBeforeInit.trigger();
+
 	// initialisation
 	eventInit.trigger();
 	



More information about the Mapbender_commits mailing list