mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Manually force background tile images to display at their expected size (close #7070)
This commit is contained in:
@@ -198,6 +198,8 @@ export function rendererTileLayer(context) {
|
||||
image.enter()
|
||||
.append('img')
|
||||
.attr('class', 'tile')
|
||||
.style('width', _tileSize + 'px')
|
||||
.style('height', _tileSize + 'px')
|
||||
.attr('src', function(d) { return d[3]; })
|
||||
.on('error', error)
|
||||
.on('load', load)
|
||||
|
||||
Reference in New Issue
Block a user