diff --git a/src/components/MiniMap.vue b/src/components/MiniMap.vue index 6092f93..33dfc85 100644 --- a/src/components/MiniMap.vue +++ b/src/components/MiniMap.vue @@ -38,7 +38,8 @@ export default { isEnlarged: Boolean, zoomWarning: Boolean, showInactiveSummits: Boolean, - canEnlarge: Boolean + canEnlarge: Boolean, + overviewMap: Boolean }, components: { MglMap, MglGeolocateControl, MglNavigationControl, MapEnlargeControl, MglScaleControl, MglAttributionControl, MapRoute, MapPhoto, MapInfoPopup @@ -85,6 +86,13 @@ export default { }, mapOptions () { // Filter user map options; we don't need regions and spots here + if (this.overviewMap) { + return { + contours: this.$store.state.mapOptions.contours, + hillshading: this.$store.state.mapOptions.hillshading + } + } + let mapOptions = { ...this.$store.state.mapOptions } mapOptions.spots = false mapOptions.regions = false diff --git a/src/views/Association.vue b/src/views/Association.vue index a8f82d5..643c516 100644 --- a/src/views/Association.vue +++ b/src/views/Association.vue @@ -33,7 +33,7 @@
- +
diff --git a/src/views/Region.vue b/src/views/Region.vue index 241ee44..7080164 100644 --- a/src/views/Region.vue +++ b/src/views/Region.vue @@ -20,7 +20,7 @@
- +