Make tileSize a config option for ol.source.XYZ
This commit is contained in:
@@ -22,7 +22,8 @@ ol.source.XYZ = function(options) {
|
||||
|
||||
var tileGrid = new ol.tilegrid.XYZ({
|
||||
extent: ol.tilegrid.extentFromProjection(projection),
|
||||
maxZoom: options.maxZoom
|
||||
maxZoom: options.maxZoom,
|
||||
tileSize: options.tileSize
|
||||
});
|
||||
|
||||
goog.base(this, {
|
||||
|
||||
Reference in New Issue
Block a user