diff --git a/js/index.js b/js/index.js index f49fd30..212714e 100644 --- a/js/index.js +++ b/js/index.js @@ -76,6 +76,10 @@ }).addTo(map); map.addControl(new BR.Search()); + + // expose map instance for console debugging + BR.debug = BR.debug || {}; + BR.debug.map = map; } function initApp() {