[Mapbender-commits] r7760 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Apr 11 14:11:09 EDT 2011
Author: marc
Date: 2011-04-11 11:11:09 -0700 (Mon, 11 Apr 2011)
New Revision: 7760
Modified:
trunk/mapbender/http/plugins/mb_background.js
Log:
first Maprequest added
Modified: trunk/mapbender/http/plugins/mb_background.js
===================================================================
--- trunk/mapbender/http/plugins/mb_background.js 2011-04-11 08:21:24 UTC (rev 7759)
+++ trunk/mapbender/http/plugins/mb_background.js 2011-04-11 18:11:09 UTC (rev 7760)
@@ -83,6 +83,9 @@
Mapbender.modules['overview'].wms[0].gui_wms_visible = 1;
setSingleMapRequest('overview',Mapbender.modules['overview'].wms[0].wms_id);
}
+ //workaround for first Maprequest
+ setSingleMapRequest(o.target,map.wms[0].wms_id);
+
// if less than two background wms are found,
// do not display buttons
if (numBackgroundWms < 2) {
More information about the Mapbender_commits
mailing list