Expose map to the window object for debugging
This commit is contained in:
parent
d96415b1c5
commit
b86fadf426
1 changed files with 2 additions and 0 deletions
2
main.js
2
main.js
|
|
@ -150,3 +150,5 @@ map.on('click', function (evt) {
|
|||
});
|
||||
|
||||
new ResizeObserver(() => map.updateSize()).observe(document.getElementById("map"));
|
||||
|
||||
window.map = map;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue