mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
fixes issue with db lock when writing mbtiles
This commit is contained in:
parent
b5459794f8
commit
169e246fdc
@ -307,6 +307,7 @@ class MBTilesWriter:
|
||||
conn.close()
|
||||
|
||||
def _init_zoom_layer(self, zoom):
|
||||
self._zoom_ds = None
|
||||
west_edge, south_edge, east_edge, north_edge = self.extent
|
||||
first_tile = Tile(*deg2num(north_edge, west_edge, zoom), zoom)
|
||||
last_tile = Tile(*deg2num(south_edge, east_edge, zoom), zoom)
|
||||
@ -409,7 +410,7 @@ LEAFLET_TEMPLATE = '''
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
bottom: 10px;
|
||||
width: 600px;
|
||||
width: 600px;
|
||||
height: 400px;
|
||||
}}
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user