Skip to content
Permalink
Browse files
Remove optional attribution prefix
  • Loading branch information
pathmapper committed Dec 29, 2021
1 parent cccb8e1 commit 6d98291d8709ddddbde956d711744b070521e64b
Showing with 14 additions and 2 deletions.
  1. +7 −1 resources/server/src/landingpage/src/views/Catalog.vue
  2. +7 −1 resources/server/src/landingpage/src/views/WebGis.vue
@@ -61,7 +61,12 @@
<l-map
:ref="'mapid-' + project.id"
@ready="loadMap(project, $event)"
:options="{attributionControl: false}"
>
<l-control-attribution
position="bottomright"
:options="{prefix: false}"
></l-control-attribution>
<l-tile-layer
url="https://tile.openstreetmap.org/{z}/{x}/{y}.png"
v-if="
@@ -125,7 +130,7 @@
</template>

<script>
import { LMap, LTileLayer } from "vue2-leaflet";
import { LMap, LControlAttribution, LTileLayer } from "vue2-leaflet";
import "leaflet/dist/leaflet.css";
import { latLng, Polygon } from "leaflet";
import WMS from "leaflet-wms/leaflet.wms.js";
@@ -137,6 +142,7 @@ export default {
name: "Catalog",
components: {
LMap,
LControlAttribution,
LTileLayer,
Metadata,
Error,
@@ -43,7 +43,12 @@
@ready="setMap"
style="z-index: 0"
maxZoom="22"
:options="{attributionControl: false}"
>
<l-control-attribution
position="bottomright"
:options="{prefix: false}"
></l-control-attribution>
<l-tile-layer
:visible="baseMap == 'openstreetmap'"
url="https://tile.openstreetmap.org/{z}/{x}/{y}.png"
@@ -79,7 +84,7 @@ import MapFooter from "@/components/MapFooter.vue";
import LeftSidebar from "@/components/LeftSidebar.vue";
import AttributeTable from "@/components/AttributeTable.vue";
import Error from "@/components/Error.vue";
import { LMap, LTileLayer } from "vue2-leaflet";
import { LMap, LControlAttribution, LTileLayer } from "vue2-leaflet";
import WmsSource from "@/js/WmsSource.js";
import "leaflet/dist/leaflet.css";
import { latLng, Polygon } from "leaflet";
@@ -105,6 +110,7 @@ export default {
props: { projectId: String },
components: {
LMap,
LControlAttribution,
LTileLayer,
MapToolbar,
MapFooter,

0 comments on commit 6d98291

Please sign in to comment.