feat(geo_map): enable retina detection

This commit is contained in:
Elian Doran 2025-02-08 12:09:07 +02:00
parent f5b0c3b68b
commit 1bf2f10c98
No known key found for this signature in database

View File

@ -54,7 +54,8 @@ export default class GeoMapWidget extends NoteContextAwareWidget {
}
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
detectRetina: true
}).addTo(map);
});
}