Remove the tilePixelRatio option from ol.source.VectorTile

This commit is contained in:
Andreas Hocevar
2017-08-02 23:57:29 +02:00
parent b3be7e7ba9
commit d4d371a4c2
8 changed files with 32 additions and 32 deletions
-1
View File
@@ -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();