mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Disable scratch map layer by default
This commit is contained in:
parent
ef7b4c1fba
commit
1c62ef61b1
2 changed files with 1 additions and 6 deletions
|
|
@ -152,7 +152,7 @@ export default class extends Controller {
|
|||
color: '#FFA500',
|
||||
weight: 1
|
||||
}
|
||||
}).addTo(this.map)
|
||||
})
|
||||
|
||||
const response = await fetch('https://raw.githubusercontent.com/datasets/geo-countries/master/data/countries.geojson')
|
||||
const worldData = await response.json()
|
||||
|
|
|
|||
|
|
@ -51,11 +51,6 @@
|
|||
<div data-maps-target="container" class="h-[25rem] w-full min-h-screen">
|
||||
<div id="fog" class="fog"></div>
|
||||
</div>
|
||||
<button
|
||||
data-action="click->maps#toggleScratchLayer"
|
||||
class="btn btn-primary mt-4">
|
||||
Toggle Visited Countries
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue