mirror of
https://github.com/maplibre/martin.git
synced 2024-12-18 20:31:54 +03:00
Show tile boundaries in debug.html (#858)
This commit is contained in:
parent
d6f3908b7b
commit
fa451cbf9b
@ -285,6 +285,7 @@
|
||||
});
|
||||
|
||||
map.on('load', async function () {
|
||||
map.showTileBoundaries = true;
|
||||
const catalog = await fetch('http://0.0.0.0:3000/catalog');
|
||||
const sources = (await catalog.json()).tiles;
|
||||
// Set up the corresponding toggle button for each layer.
|
||||
|
Loading…
Reference in New Issue
Block a user