[Mapbender-commits] r9357 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jan 12 15:09:22 PST 2016
Author: armin11
Date: 2016-01-12 15:09:22 -0800 (Tue, 12 Jan 2016)
New Revision: 9357
Modified:
trunk/mapbender/http/javascripts/mb_downloadFeedClient.php
Log:
Option to show the number of single tiles
Modified: trunk/mapbender/http/javascripts/mb_downloadFeedClient.php
===================================================================
--- trunk/mapbender/http/javascripts/mb_downloadFeedClient.php 2016-01-12 23:09:02 UTC (rev 9356)
+++ trunk/mapbender/http/javascripts/mb_downloadFeedClient.php 2016-01-12 23:09:22 UTC (rev 9357)
@@ -178,6 +178,7 @@
$('.selectpicker').selectpicker('refresh');
$("#tab_header_number_datasets").text("");
$("#tab_header_number_representations").text("");
+ $("#number_of_tiles").text("");
}
function showDatasetList(featureCollection,id) {
@@ -336,6 +337,9 @@
}
}
+ //set number of links:
+ $("#number_of_tiles").text(" "+"("+numberOfLinks+"<?php echo " single tiles"?>"+")");
+
//count features of bboxFiles
//bboxFiles if not available show error message
//selectFObject = $(document.createElement('select')).appendTo('#section_list');
@@ -356,6 +360,8 @@
mapframe_file_list.addLayers([wms222]);
//Add polygon layer from mb_metadata tables bounding_geom column
mapframe_file_list.zoomToExtent(bound);
+ //set number of tiles
+ bboxFiles.features.length
bboxFiles.events.on({
featureselected: function(event) {
var feature = event.feature;
More information about the Mapbender_commits
mailing list