Manually force background tile images to display at their expected size (close #7070)

This commit is contained in:
Quincy Morgan
2019-12-02 12:38:55 -05:00
parent 1217b040c9
commit 80a4cec8dd

View File

@@ -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)