Fix "Layer not found: route-quality" error msg (ignore built-in layers)
This commit is contained in:
parent
b0aa8ec20e
commit
164431dccb
2 changed files with 5 additions and 1 deletions
|
|
@ -2,6 +2,8 @@ BR.LayersConfig = L.Class.extend({
|
|||
defaultBaseLayers: BR.confLayers.defaultBaseLayers,
|
||||
defaultOverlays: BR.confLayers.defaultOverlays,
|
||||
legacyNameToIdMap: BR.confLayers.legacyNameToIdMap,
|
||||
// hardcoded, built-in layers with an id set (for URL hash)
|
||||
builtInLayers: ['route-quality'],
|
||||
|
||||
initialize: function(map) {
|
||||
this._map = map;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue