[Mapbender-commits] r9125 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Nov 19 06:07:46 PST 2014


Author: armin11
Date: 2014-11-19 06:07:46 -0800 (Wed, 19 Nov 2014)
New Revision: 9125

Modified:
   trunk/mapbender/http/javascripts/mb_downloadFeedClient.php
Log:
Extract atomfeedclient extent to con file

Modified: trunk/mapbender/http/javascripts/mb_downloadFeedClient.php
===================================================================
--- trunk/mapbender/http/javascripts/mb_downloadFeedClient.php	2014-11-19 12:50:49 UTC (rev 9124)
+++ trunk/mapbender/http/javascripts/mb_downloadFeedClient.php	2014-11-19 14:07:46 UTC (rev 9125)
@@ -77,8 +77,8 @@
 	mapframe_file_list.addControl(new OpenLayers.Control.MousePosition());
 	updateFormats();
 	//initialize mapframes
-	mapframe_dataset_list.setCenter(new OpenLayers.LonLat(7, 50), 7);
-	mapframe_file_list.setCenter(new OpenLayers.LonLat(7, 50), 7);
+	mapframe_dataset_list.setCenter(new OpenLayers.LonLat(<?php echo $olCentreLon; ?>, <?php echo $olCentreLat; ?>), <?php echo $olScale; ?>);
+	mapframe_file_list.setCenter(new OpenLayers.LonLat(<?php echo $olCentreLon; ?>, <?php echo $olCentreLat; ?>), <?php echo $olScale; ?>);
 	resetForm();
 	//start parsing when no empty string was found in input for url
 	if ($('#download_feed_url').val() != "") {



More information about the Mapbender_commits mailing list