My Leaflet Map (Custom one) is relatively small, i made tiles from a 16000x16000 image and implemented them into the website with Leaflet, but the map is too small, the minZoom: 2
is too big and the minZoom 1
is too small.
I would like the Map to fill the whole gray area (which is my map area) but the tiles right now dont fill the whole thing, with bounds i can keep it centered but still not bigger. Any help appreciated.
EDIT 1:
<l-map ref="map" :zoomSnap="zoomSnap" :minZoom="minZoom" :maxZoom="maxZoom" :options="mapOptions" style="background-color: lightgray; width: fill; height: 100%;" :zoom="zoom" :center="center">
<l-tile-layer :options="mapOptions" style="width: 100%; height: 100%" :url="url" :attribution="attribution"></l-tile-layer>
</l-map>