@@ -218,7 +218,7 @@ var App = (function ($, publ) {
218
218
publ . setBasemap = function ( layers ) {
219
219
220
220
if ( layers . length === 0 ) {
221
- console . error ( "There is no baselayer availaable !" ) ;
221
+ console . error ( "There is no baselayer available !" ) ;
222
222
return ;
223
223
}
224
224
@@ -378,7 +378,7 @@ var App = (function ($, publ) {
378
378
var extent = map . getView ( ) . calculateExtent ( map . getSize ( ) ) ;
379
379
380
380
center = ol . proj . transform ( center , 'EPSG:3857' , 'EPSG:4326' ) ;
381
- console . log ( "Map Center (WGS84): " , center ) ;
381
+ // console.log("Map Center (WGS84): ", center);
382
382
$ ( 'fieldset#location' ) . data ( 'center' , center ) ;
383
383
$ ( '#tr_distance #values_distance_3' ) . val ( center [ 0 ] ) ;
384
384
$ ( '#tr_distance #values_distance_4' ) . val ( center [ 1 ] ) ;
@@ -394,7 +394,7 @@ var App = (function ($, publ) {
394
394
document . cookie = cookie . join ( ";" ) ;
395
395
396
396
extent = ol . proj . transformExtent ( extent , 'EPSG:3857' , 'EPSG:4326' ) . join ( '|' ) ;
397
- console . log ( "Map Extent (WGS84): " , extent ) ;
397
+ // console.log("Map Extent (WGS84): ",extent);
398
398
$ ( 'select[name="v[bbox][]"]' ) . find ( 'option' ) . first ( ) . val ( extent ) ;
399
399
// adjust the value of the 'On map' option tag
400
400
// Also adjust the JSON data that's the basis for building the filter row
@@ -763,11 +763,11 @@ function buildDistanceFilterRow(operator, values){
763
763
}
764
764
var x , y ;
765
765
if ( values . length > 2 ) {
766
- console . log ( 'distance center point from values: ' , values [ base_idx ] , values [ base_idx + 1 ] ) ;
766
+ // console.log('distance center point from values: ', values[base_idx], values[base_idx+1]);
767
767
x = values [ base_idx ] ;
768
768
y = values [ base_idx + 1 ] ;
769
769
} else {
770
- console . log ( 'taking distance from map fieldset: ' , $ ( 'fieldset#location' ) . data ( 'center' ) ) ;
770
+ // console.log('taking distance from map fieldset: ', $('fieldset#location').data('center'));
771
771
var xy = $ ( 'fieldset#location' ) . data ( 'center' ) ;
772
772
x = xy [ 0 ] ; y = xy [ 1 ] ;
773
773
}
0 commit comments