Skip to content

Commit

Permalink
Remove optional attribution prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
pathmapper committed Dec 29, 2021
1 parent cccb8e1 commit 6d98291
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion resources/server/src/landingpage/src/views/Catalog.vue
Expand Up @@ -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="
Expand Down Expand Up @@ -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";
Expand All @@ -137,6 +142,7 @@ export default {
name: "Catalog",
components: {
LMap,
LControlAttribution,
LTileLayer,
Metadata,
Error,
Expand Down
8 changes: 7 additions & 1 deletion resources/server/src/landingpage/src/views/WebGis.vue
Expand Up @@ -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"
Expand Down Expand Up @@ -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";
Expand All @@ -105,6 +110,7 @@ export default {
props: { projectId: String },
components: {
LMap,
LControlAttribution,
LTileLayer,
MapToolbar,
MapFooter,
Expand Down

0 comments on commit 6d98291

Please sign in to comment.