[Mapbender-commits] r7734 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Apr 4 06:10:28 EDT 2011
Author: verenadiewald
Date: 2011-04-04 03:10:28 -0700 (Mon, 04 Apr 2011)
New Revision: 7734
Modified:
trunk/mapbender/http/javascripts/mod_setBBOX1.php
Log:
setBbox on event eventAfterLoadWMS
Modified: trunk/mapbender/http/javascripts/mod_setBBOX1.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_setBBOX1.php 2011-04-04 09:24:12 UTC (rev 7733)
+++ trunk/mapbender/http/javascripts/mod_setBBOX1.php 2011-04-04 10:10:28 UTC (rev 7734)
@@ -20,7 +20,7 @@
require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
echo "var targetString = '".$e_target[0]."';";
?>
-eventInit.register(function () {
+eventAfterLoadWMS.register(function () {
var targetArray = targetString.split(",");
var bboxString = "<?php echo Mapbender::session()->get("mb_myBBOX") ?>";
var srs = "<?php echo Mapbender::session()->get("mb_myBBOXEpsg") ?>";
More information about the Mapbender_commits
mailing list