Enable wrapX by default

This commit is contained in:
Andreas Hocevar
2015-09-30 14:23:18 +02:00
parent 8e9b20db51
commit af69933c64
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ ol.source.VectorTile = function(options) {
options.tileLoadFunction : ol.source.VectorTile.defaultTileLoadFunction,
tileUrlFunction: options.tileUrlFunction,
tilePixelRatio: options.tilePixelRatio,
wrapX: options.wrapX
wrapX: options.wrapX === undefined ? true : options.wrapX
});
/**