diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/main.js b/src/js/main.js index 7699bb3..3cd60ca 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -56,7 +56,7 @@ export function registerCustomElement(settings) { return this._maxBounds; } set maxBounds(value) { - if (this._map) this._map.setBounds(value); + if (this._map) this._map.setMaxBounds(value); this._maxBounds = value; } |