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