-
-
- {{ style.title }}
-
-
+
-
-
- {{ style.title }}
-
-
+
@@ -63,12 +51,16 @@ import { objectValuesToArray } from '~/utils/utils'
import { profileUserQuery, mapUserQuery } from '~/graphql/User'
import { groupQuery } from '~/graphql/groups'
import mobile from '~/mixins/mobile'
+import MapStylesButtons from '~/components/Map/MapStylesButtons'
const maxMobileWidth = 639 // on this width and smaller the mapbox 'MapboxGeocoder' search gets bigger
export default {
name: 'Map',
mixins: [mobile(maxMobileWidth)],
+ components: {
+ MapStylesButtons,
+ },
head() {
return {
title: this.$t('map.pageTitle'),
@@ -474,15 +466,4 @@ export default {
.mgl-map-wrapper {
height: 70vh;
}
-.map-style-button {
- position: relative;
- margin-left: 6px;
- margin-top: 6px;
- margin-bottom: 6px;
-
- &.--deactivated {
- color: $text-color-base;
- background-color: $background-color-softer;
- }
-}