aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionMapView.scss11
-rw-r--r--src/client/views/collections/CollectionMapView.tsx6
2 files changed, 2 insertions, 15 deletions
diff --git a/src/client/views/collections/CollectionMapView.scss b/src/client/views/collections/CollectionMapView.scss
index e87c02611..874511533 100644
--- a/src/client/views/collections/CollectionMapView.scss
+++ b/src/client/views/collections/CollectionMapView.scss
@@ -6,19 +6,10 @@
.collectionMapView-contents {
width: 100%;
height: 100%;
+ overflow: hidden;
> div {
position: unset !important; // when the sidebar filter flys out, this prevents the map from extending outside the document box
}
-
- .dash-label {
- position: absolute;
- top: 1rem;
- left: 5rem;
- color: black;
- z-index: 10;
- margin: 0;
- padding: 0;
- }
}
}
diff --git a/src/client/views/collections/CollectionMapView.tsx b/src/client/views/collections/CollectionMapView.tsx
index 77a7c3ee0..07755ed71 100644
--- a/src/client/views/collections/CollectionMapView.tsx
+++ b/src/client/views/collections/CollectionMapView.tsx
@@ -90,12 +90,8 @@ export default class CollectionMapView extends CollectionSubView<MapSchema, Goog
style={{ pointerEvents: active() ? undefined : "none", overflow: 'hidden' }}
onWheel={e => e.stopPropagation()}
onPointerDown={e => (e.button === 0 && !e.ctrlKey) && e.stopPropagation()} >
- <h1 className="dash-label">
- Dash!
- </h1>
<LoadScript
- googleMapsApiKey='AIzaSyALJU8DfCAqEAS0OqMDCmkE0otlz4H81fg'
- // googleMapsApiKey={process.env.REACT_APP_DASH_GOOGLE_MAPS_API_KEY!}
+ googleMapsApiKey={process.env.GOOGLE_MAPS!}
libraries={['places']}
>
<div className="map-wrapper">