Skip to content

Commit

Permalink
Remove featuer specific logging
Browse files Browse the repository at this point in the history
  • Loading branch information
1chandu committed Sep 10, 2019
1 parent ea91ec5 commit 9f42694
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,8 @@ export default class HeatmapLayer extends CompositeLayer {
const textureSize = Math.min(SIZE_2K, getParameter(gl, gl.MAX_TEXTURE_SIZE));
this.state = {textureSize, supported: true};
if (!hasFeatures(gl, REQUIRED_FEATURES)) {
const info = REQUIRED_FEATURES.reduce(
(acc, feature) =>
`${acc} ${feature}: ${hasFeatures(gl, feature) ? 'SUPPORTED' : 'NOT SUPPORTED'} `,
''
);
log.error(`HeatmapLayer ${this.id} is not supported on this browser, ${info}`)();
this.setState({supported: false});
log.error(`HeatmapLayer: ${this.id} is not supported on this browser`)();
return;
}
this._setupAttributes();
Expand Down

0 comments on commit 9f42694

Please sign in to comment.