Add wrapX option to Stamen source

This commit is contained in:
Frederic Junod
2017-04-18 13:31:30 +02:00
parent ee2aa91d97
commit f7c71bdaac
2 changed files with 15 additions and 3 deletions

View File

@@ -35,7 +35,8 @@ ol.source.Stamen = function(options) {
opaque: layerConfig.opaque,
reprojectionErrorThreshold: options.reprojectionErrorThreshold,
tileLoadFunction: options.tileLoadFunction,
url: url
url: url,
wrapX: options.wrapX
});
};
ol.inherits(ol.source.Stamen, ol.source.XYZ);