diff --git a/src/app/modules/map/widget/map-widget.scss b/src/app/modules/map/widget/map-widget.scss
new file mode 100644
index 00000000..97624a3f
--- /dev/null
+++ b/src/app/modules/map/widget/map-widget.scss
@@ -0,0 +1,12 @@
+div.map-container {
+ height: 100%;
+ width: 100%;
+ display: block;
+}
+
+div.map-buttons {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ z-index: 10000;
+}
diff --git a/src/app/modules/menu/context/context-menu.component.ts b/src/app/modules/menu/context/context-menu.component.ts
index c66066d5..75372401 100644
--- a/src/app/modules/menu/context/context-menu.component.ts
+++ b/src/app/modules/menu/context/context-menu.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2018, 2019, 2020 StApps
+ * Copyright (C) 2018-2021 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -12,7 +12,7 @@
* You should have received a copy of the GNU General Public License along with
* this program. If not, see .
*/
-import {Component, OnDestroy} from '@angular/core';
+import {Component, Input, OnDestroy} from '@angular/core';
import {LangChangeEvent, TranslateService} from '@ngx-translate/core';
import {
SCLanguage,
@@ -38,6 +38,12 @@ import {FilterContext, SortContext, SortContextOption} from './context-type';
templateUrl: 'context-menu.html',
})
export class ContextMenuComponent implements OnDestroy {
+ /**
+ * Id of the content the menu is used for
+ */
+ @Input()
+ contentId: string;
+
/**
* Amount of filter options shown on compact view
*/
@@ -145,7 +151,6 @@ export class ContextMenuComponent implements OnDestroy {
for (const filterBucket of filterFacet.buckets) {
filterBucket.checked = false;
}
-
this.contextMenuService.contextFilterChanged(this.filterOption);
};
diff --git a/src/app/modules/menu/context/context-menu.html b/src/app/modules/menu/context/context-menu.html
index c01545bf..07121e35 100644
--- a/src/app/modules/menu/context/context-menu.html
+++ b/src/app/modules/menu/context/context-menu.html
@@ -1,4 +1,9 @@
-
+