Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Jul 24, 2024
1 parent 92539b5 commit 121e111
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/base/src/mainview/mainview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ export class MainView extends React.Component<IProps, IStates> {
);
break;
}
case 'COGLayer':
case 'COGLayer': {
// The COG Layer has something specific where it owns the URL to the tiles, not the source
// So we'll create one source per-layer under the hood on Maplibre
const parameters = layer.parameters as ICOGLayer;
Expand All @@ -547,6 +547,7 @@ export class MainView extends React.Component<IProps, IStates> {
parameters?.opacity !== undefined ? parameters.opacity : 1
);
break;
}
}
}

Expand Down

0 comments on commit 121e111

Please sign in to comment.