[Mapbender-commits] r7689 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Mar 4 02:47:50 EST 2011
Author: armin11
Date: 2011-03-03 23:47:50 -0800 (Thu, 03 Mar 2011)
New Revision: 7689
Modified:
trunk/mapbender/http/javascripts/mod_coordsLookup.php
Log:
Bugfix: Problem with mod_ccordsLookup.php - values of perimeter are now shown and send without point. Zoom to box > 10m will be ok now.
Modified: trunk/mapbender/http/javascripts/mod_coordsLookup.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_coordsLookup.php 2011-03-04 07:16:21 UTC (rev 7688)
+++ trunk/mapbender/http/javascripts/mod_coordsLookup.php 2011-03-04 07:47:50 UTC (rev 7689)
@@ -118,7 +118,7 @@
for(var i = 0; i < options.perimeters.length; i++) {
var optionValue = options.perimeters[i] + '';
- optionValue = (optionValue.length < 4) ? (optionValue + ' m') : optionValue.replace(/(\d+)(\d{3})/, '$1' + '.' + '$2' + ' m');
+ optionValue = (optionValue.length < 4) ? (optionValue + ' m') : optionValue.replace(/(\d+)(\d{3})/, '$1' + '$2' + ' m');
$(this.perimeterSelect).append('<option value=' + optionValue + ' >' + optionValue + '</option>');
}
More information about the Mapbender_commits
mailing list