Add wrapX option to ol.source.XYZ

This commit is contained in:
Tom Payne
2014-03-17 11:31:21 +01:00
parent 24b3f3dcc0
commit 2100cd30df
2 changed files with 4 additions and 1 deletions

View File

@@ -41,7 +41,8 @@ ol.source.XYZ = function(options) {
* @type {ol.TileCoordTransformType}
*/
this.tileCoordTransform_ = tileGrid.createTileCoordTransform({
extent: options.extent
extent: options.extent,
wrapX: options.wrapX
});
if (goog.isDef(options.tileUrlFunction)) {