Add map data attribution for OpenStreetMap
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
23cbb7d359
commit
fcad7aa2ce
@ -6,7 +6,12 @@
|
||||
class="leaflet-map"
|
||||
:center="[lat, lon]"
|
||||
>
|
||||
<l-tile-layer url="https://{s}.tile.osm.org/{z}/{x}/{y}.png"></l-tile-layer>
|
||||
<l-tile-layer
|
||||
url="https://{s}.tile.osm.org/{z}/{x}/{y}.png"
|
||||
attribution="© OpenStreetMap contributors"
|
||||
>
|
||||
|
||||
</l-tile-layer>
|
||||
<l-marker :lat-lng="[lat, lon]" >
|
||||
<l-popup v-if="popup">{{ popup }}</l-popup>
|
||||
</l-marker>
|
||||
|
Loading…
Reference in New Issue
Block a user