add config option for custom base layers, resolves #24
This commit is contained in:
parent
bfe1f7eea9
commit
327c343903
2 changed files with 21 additions and 3 deletions
|
|
@ -58,4 +58,13 @@
|
|||
// External URL for key retrieval, does not work locally on desktop
|
||||
BR.conf.bingKeyUrl = 'http://norbertrenner.de/key/bing.php';
|
||||
|
||||
// Add custom tile layers
|
||||
// URL template see http://leafletjs.com/reference.html#tilelayer
|
||||
// Multiple entries separated by comma (,)
|
||||
BR.conf.baseLayers = {
|
||||
// 'display name': 'url'[,]
|
||||
// e.g. for offline tiles with https://github.com/develar/mapsforge-tile-server
|
||||
//'Mapsforge Tile Server': 'http://localhost:6090/{z}/{x}/{y}.png'
|
||||
};
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue