Skip to content

Commit

Permalink
map.js - Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdouchin committed Jan 9, 2014
1 parent c351ab2 commit a764f60
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lizmap/www/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ var lizMap = function() {
$('#locate-layer-'+aName).parent().before('<div class="locate-layer"><select id="locate-layer-'+aName+'-'+locate.filterFieldName+'">'+fOptions+'</select></div><br/>');
$('#locate-layer-'+aName+'-'+locate.filterFieldName).change(function(){
var filterValue = $(this).children(':selected').val();
console.log(filterValue);
//console.log(filterValue);
var lOptions = '<option value="-1">'+lConfig.title+'</option>';
for (var fid in locate.features) {
var feat = locate.features[fid];
Expand Down Expand Up @@ -1744,7 +1744,7 @@ var lizMap = function() {
var scale = OpenLayers.Util.getScaleFromResolution(res, units);
scales.push(scale);
}
}
}
if ( scales == null ) {
$('#togglePrint').parent().remove();
return false;
Expand Down Expand Up @@ -3938,8 +3938,6 @@ lizMap.events.on({
var reg = new RegExp('repository\=(.+)&project\=(.+)', 'g');
var url = externalService.replace(reg, 'repository='+layerConfig.repository+'&project='+layerConfig.project);

console.log(url);

// creating the base layer
layerConfig.title = layerConfig.layerTitle
layerConfig.name = layerConfig.layerName
Expand Down

0 comments on commit a764f60

Please sign in to comment.