Skip to content

Commit

Permalink
comments out console logs in GeojsonLayer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrothwell committed Nov 2, 2023
1 parent 7e2880f commit 6fb45cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mapbox/layer/GeojsonLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ export default {
layer.id = this.layerId;

let before = this.before;
console.log('GeojsonLayer.js end is running, layerId:', this.layerId, 'before:', before);
// console.log('GeojsonLayer.js end is running, layerId:', this.layerId, 'before:', before);
let layers = this.map.getStyle().layers;
let beforeExists = []
for (let layer of layers) {
console.log('in loop, layer:', layer, 'layer.id:', layer.id);
// console.log('in loop, layer:', layer, 'layer.id:', layer.id);
if (before && before.includes(layer.id)) {
beforeExists.push(layer.id);
break;
Expand Down

0 comments on commit 6fb45cb

Please sign in to comment.