Remove the tilePixelRatio option from ol.source.VectorTile
This commit is contained in:
@@ -78,7 +78,6 @@ fetch(url).then(function(response) {
|
||||
var vectorSource = new ol.source.VectorTile({
|
||||
format: new ol.format.GeoJSON(),
|
||||
tileGrid: ol.tilegrid.createXYZ(),
|
||||
tilePixelRatio: 16,
|
||||
tileLoadFunction: function(tile) {
|
||||
var format = tile.getFormat();
|
||||
var tileCoord = tile.getTileCoord();
|
||||
|
||||
Reference in New Issue
Block a user