diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index 7595b710..f48c34e4 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -1272,6 +1272,7 @@ L.U.Search = L.PhotonSearch.extend({ initialize: function (map, input, options) { L.PhotonSearch.prototype.initialize.call(this, map, input, options) this.options.url = map.options.urls.search + if (map.options.maxBounds) this.options.bbox = map.options.maxBounds.toBBoxString() }, onBlur: function (e) {