diff --git a/frontend/src/components/Map/index.tsx b/frontend/src/components/Map/index.tsx index fd4440a..0ce11a1 100644 --- a/frontend/src/components/Map/index.tsx +++ b/frontend/src/components/Map/index.tsx @@ -6,6 +6,7 @@ import ReactMapGl, { WebMercatorViewport, ScaleControl, NavigationControl, + AttributionControl, } from "react-map-gl"; import turfBbox from "@turf/bbox"; import { useHistory, useLocation } from "react-router-dom"; @@ -63,12 +64,14 @@ function Map({ children, boundsFromJson, baseMapStyle, + hasToolbar, ...props }: { viewportFromUrl?: boolean; children: React.ReactNode; boundsFromJson: GeoJSON.Geometry; baseMapStyle: string; + hasToolbar?: boolean; }) { const [viewportState, setViewportState] = useState(EMPTY_VIEWPORT); const [viewportUrl, setViewportUrl] = useViewportFromUrl(); @@ -141,12 +144,14 @@ function Map({ {...viewport} {...props} className={classnames(styles.map, props.className)} + attributionControl={false} > - + + {children} diff --git a/frontend/src/pages/MapPage/index.tsx b/frontend/src/pages/MapPage/index.tsx index 07f510d..0c0ce78 100644 --- a/frontend/src/pages/MapPage/index.tsx +++ b/frontend/src/pages/MapPage/index.tsx @@ -211,12 +211,12 @@ function MapPage({ login }) { )}
- +