Frontend: Set max zoom for fitBounds to 17
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
9bdfeaabeb
commit
63d8aedfbe
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@
|
|||
this.map.getSource("photos").setData(this.result);
|
||||
|
||||
if (this.filter.q || !this.initialized) {
|
||||
this.map.fitBounds(this.result.bbox, {maxZoom: 16, padding: 100});
|
||||
this.map.fitBounds(this.result.bbox, {maxZoom: 17, padding: 100});
|
||||
}
|
||||
|
||||
this.initialized = true;
|
||||
|
|
Loading…
Reference in a new issue