mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fix: leaflet marker
This commit is contained in:
parent
87847ab31a
commit
3b4344c1bf
3 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
try {
|
try {
|
||||||
map.fitBounds(markerGroupLayer.getBounds(), {
|
map.fitBounds(markerGroupLayer.getBounds(), {
|
||||||
maxZoom: 13
|
maxZoom: Math.max(map.getZoom(), 13)
|
||||||
});
|
});
|
||||||
} catch (error) {}
|
} catch (error) {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
static/marker-icon.png
Normal file
BIN
static/marker-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 609 B |
BIN
static/marker-shadow.png
Normal file
BIN
static/marker-shadow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 136 B |
Loading…
Reference in a new issue