Expose map to the window object for debugging

This commit is contained in:
Chandler Swift 2024-02-02 03:25:36 -06:00
parent d96415b1c5
commit b86fadf426
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -150,3 +150,5 @@ map.on('click', function (evt) {
}); });
new ResizeObserver(() => map.updateSize()).observe(document.getElementById("map")); new ResizeObserver(() => map.updateSize()).observe(document.getElementById("map"));
window.map = map;