expose map instance for console debugging
This commit is contained in:
parent
597303a6d3
commit
4ab4572e0e
1 changed files with 4 additions and 0 deletions
|
|
@ -76,6 +76,10 @@
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
map.addControl(new BR.Search());
|
map.addControl(new BR.Search());
|
||||||
|
|
||||||
|
// expose map instance for console debugging
|
||||||
|
BR.debug = BR.debug || {};
|
||||||
|
BR.debug.map = map;
|
||||||
}
|
}
|
||||||
|
|
||||||
function initApp() {
|
function initApp() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue