diff --git a/src/components/src/map/map-control.tsx b/src/components/src/map/map-control.tsx
index cc469d4fed..b2e1ad77ac 100644
--- a/src/components/src/map/map-control.tsx
+++ b/src/components/src/map/map-control.tsx
@@ -160,7 +160,7 @@ function MapControlFactory(
{actionComponents.map((ActionComponent, index) => (
))}
- {mapState && mapStateActions ? (
+ {mapState && mapStateActions && !restProps.isExport ? (
!CLASS_FILTER.includes(node.className);
+const DOM_FILTER_FUNC = node => {
+ const className = typeof node.className === 'string' ? node.className : '';
+ if (!className) {
+ return true;
+ }
+ const classes = className.split(/\s+/);
+ return !CLASS_FILTER.some(cls => classes.includes(cls));
+};
const OUT_OF_SCREEN_POSITION = -9999;
/**
@@ -75,7 +83,8 @@ const StyledPlotContainer = styled.div`
.mapboxgl-ctrl-bottom-left,
.mapboxgl-ctrl-bottom-right,
.mapbox-attribution-container,
- .map-control__panel-split-viewport-tools {
+ .map-control__panel-split-viewport-tools,
+ .map-navigation-control {
display: none;
}