diff --git a/webapp/pages/map.vue b/webapp/pages/map.vue index 47acaa21d..31d982111 100644 --- a/webapp/pages/map.vue +++ b/webapp/pages/map.vue @@ -35,9 +35,10 @@ - + + diff --git a/webapp/plugins/v-mapbox.js b/webapp/plugins/v-mapbox.js index ebbfef3db..3d45f16ca 100644 --- a/webapp/plugins/v-mapbox.js +++ b/webapp/plugins/v-mapbox.js @@ -10,16 +10,21 @@ import { MglScaleControl, MglNavigationControl, MglGeolocateControl, + MglFullscreenControl, } from 'v-mapbox' // Map Vue.component('MglMap', MglMap) +// overview of all: https://github.com/geospoc/v-mapbox/tree/v1.11.2/src/components +// mapbox: https://docs.mapbox.com/mapbox-gl-js/api/markers/ + // Controls Vue.component('MglAttributionControl', MglAttributionControl) Vue.component('MglScaleControl', MglScaleControl) Vue.component('MglNavigationControl', MglNavigationControl) Vue.component('MglGeolocateControl', MglGeolocateControl) +Vue.component('MglFullscreenControl', MglFullscreenControl) // Layers Vue.component('MglGeojsonLayer', MglGeojsonLayer)