[Mapbender-commits] r7733 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Apr 4 05:24:12 EDT 2011
Author: verenadiewald
Date: 2011-04-04 02:24:12 -0700 (Mon, 04 Apr 2011)
New Revision: 7733
Modified:
trunk/mapbender/http/javascripts/initWmcObj.php
Log:
$wmcGetApi->extentToJavaScript
Modified: trunk/mapbender/http/javascripts/initWmcObj.php
===================================================================
--- trunk/mapbender/http/javascripts/initWmcObj.php 2011-04-04 09:10:57 UTC (rev 7732)
+++ trunk/mapbender/http/javascripts/initWmcObj.php 2011-04-04 09:24:12 UTC (rev 7733)
@@ -476,11 +476,12 @@
count($resultObj["unavailable"]["wms"]) === 0 ||
!$isSessionWmcModuleLoaded
) {
+
Mapbender::session()->set("wmcConstraints", $resultObj);
$output = $wmcGetApi->wmsToJavaScript();
$wmcJs = $wmcGetApi->toJavaScript(array());
$wmcJs = implode(";\n",$wmcJs);
- $extentJs = $wmc->extentToJavaScript();
+ $extentJs = $wmcGetApi->extentToJavaScript();
$output[] = <<<JS
Mapbender.events.afterInit.register(function () {
$wmcJs;
More information about the Mapbender_commits
mailing list