Merge pull request #77 from bagage/feature/user-layers
Allow user to add custom layers
This commit is contained in:
commit
d08bc38719
3 changed files with 153 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue