Skip to content
Snippets Groups Projects
Commit 76d25326 authored by Aurore Chayrouse's avatar Aurore Chayrouse
Browse files

Remove Leaflet attribution

parent 492e5cbd
No related branches found
Tags v0.2.1
No related merge requests found
Pipeline #36584 failed
......@@ -93,10 +93,10 @@ export default {
// zoom: 5,
// center: [46.9, 1.9],
maxZoom: 19,
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(this.map);
this.map.setView([46.9, 1.9], 5); // FRANCE BOUNDS
this.map.options.maxZoom = 14;
this.map.attributionControl.setPrefix('')
this.initMarkers()
},
initMarkers () {
......
......@@ -32,10 +32,10 @@ export default {
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(this.map);
this.map.setView([46.9, 1.9], 5); // FRANCE BOUNDS
this.map.attributionControl.setPrefix('')
},
setMarker (lat, lng) {
this.marker = L.circleMarker([lat, lng], {draggable: true, radius: 7,fillColor:'red',fillOpacity:0.5,color: 'red'})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment