diff options
author | Jakub Hampl <kopomir@gmail.com> | 2019-05-20 14:33:54 +0100 |
---|---|---|
committer | Jakub Hampl <kopomir@gmail.com> | 2019-05-20 14:33:54 +0100 |
commit | 707ee1c39efa6e49fa5b0869af79bb241c2e0216 (patch) | |
tree | fbc109c90b753d3a71fa29af208c93a3c57ce11a /src/js | |
parent | afd9cf8993b31d747d3dd3bdb3581af9c576de6b (diff) |
Fixes issue with maxBounds.
Closes #29.
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; } |