Frontend: Set max zoom for fitBounds to 16
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
3671cf078f
commit
9bdfeaabeb
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: 15, padding: 100});
|
||||
this.map.fitBounds(this.result.bbox, {maxZoom: 16, padding: 100});
|
||||
}
|
||||
|
||||
this.initialized = true;
|
||||
|
|
Loading…
Reference in a new issue