Merge pull request #77 from bagage/feature/user-layers

Allow user to add custom layers
This commit is contained in:
Norbert Renner 2017-05-20 12:59:26 +02:00 committed by GitHub
commit d08bc38719
3 changed files with 153 additions and 0 deletions

View file

@ -120,6 +120,8 @@ BR.Map = {
L.control.scale().addTo(map);
new BR.Layers().init(map, layersControl, baseLayers, overlays);
// expose map instance for console debugging
BR.debug = BR.debug || {};
BR.debug.map = map;