Add wrapX option to ol.source.XYZ

This commit is contained in:
Tom Payne committed 2014-03-17 14:08:41 +01:00
1 parent 24b3f3dcc0
commit 2100cd30df
2 files changed
+4 -1

No files matched your search

+2 -1
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)) {