Skip to content

Commit

Permalink
fix(landing): remove full screen button in debug mode as it obsures t…
Browse files Browse the repository at this point in the history
…ext BM-635 (#2344)
  • Loading branch information
blacha committed Jul 21, 2022
1 parent 8688351 commit 052f45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/landing/src/components/map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class Basemaps extends Component<unknown, { isLayerSwitcherEnabled: boole
if (Config.map.debug['debug.screenshot'] !== true) {
const nav = new maplibre.NavigationControl({ visualizePitch: true });
this.map.addControl(nav, 'top-left');
this.map.addControl(new maplibre.FullscreenControl({ container: this.el }));
if (!Config.map.isDebug) this.map.addControl(new maplibre.FullscreenControl({ container: this.el }));
}

this.map.on('render', this.onRender);
Expand Down

0 comments on commit 052f45c

Please sign in to comment.