[Mapbender-commits] r5246 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Dec 23 08:36:40 EST 2009


Author: topi
Date: 2009-12-23 08:36:40 -0500 (Wed, 23 Dec 2009)
New Revision: 5246

Added:
   trunk/mapbender/http/plugins/ol_overview.js
Log:


Added: trunk/mapbender/http/plugins/ol_overview.js
===================================================================
--- trunk/mapbender/http/plugins/ol_overview.js	                        (rev 0)
+++ trunk/mapbender/http/plugins/ol_overview.js	2009-12-23 13:36:40 UTC (rev 5246)
@@ -0,0 +1,32 @@
+/**
+ * Package: ol_overviewMap
+ *
+ * Description:
+ * An OpenLayers Layer Switch
+ * 
+ * Files:
+ *  - http/plugins/ol_overview.js
+ *
+ * SQL:
+ * > <SQL for element> 
+ * > 
+ * > <SQL for element var> 
+ *
+ * Help:
+ * http://www.mapbender.org/ol_overviewMap
+ *
+ * Maintainer:
+ * http://www.mapbender.org/User:Christoph_Baudson
+ * 
+ * License:
+ * Copyright (c) 2009, Open Source Geospatial Foundation
+ * This program is dual licensed under the GNU General Public License 
+ * and Simplified BSD license.  
+ * http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
+ */
+
+Mapbender.events.init.register(function () {
+	var ol_map = Mapbender.modules[options.target[0]];	
+	ol_map.addControl(new OpenLayers.Control.OverviewMap());	
+});
+



More information about the Mapbender_commits mailing list