mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 20:24:18 -04:00
(style) hide country borders and labels from <LanguageMap>
No borders. No nations. Trans liberation.
This commit is contained in:
parent
446000e54f
commit
e30e3fc444
@ -41,7 +41,25 @@ export default dark.extend({
|
||||
.addAttribution('<a href="https://wals.info" target="_blank">wals.info</a>')
|
||||
.addTo(map);
|
||||
|
||||
new window.L.GridLayer.TinyWorld({ maxZoom: 19 }).addTo(map);
|
||||
new window.L.GridLayer.TinyWorld({
|
||||
minZoom: 1,
|
||||
maxZoom: 5,
|
||||
render: {
|
||||
country_borders: {
|
||||
style: {
|
||||
strokeStyle: 'rgba(0, 0, 0, 0)',
|
||||
},
|
||||
},
|
||||
country_labels: {
|
||||
options: { minZoom: 10 },
|
||||
},
|
||||
lakes: {
|
||||
style: {
|
||||
strokeStyle: 'rgba(0, 0, 0, 0)',
|
||||
},
|
||||
},
|
||||
},
|
||||
}).addTo(map);
|
||||
|
||||
for (const walsLanguage of walsLanguages) {
|
||||
if (!localesByWalsCode.hasOwnProperty(walsLanguage.id)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user