Do not wrapX for editing

This commit is contained in:
Andreas Hocevar
2015-04-16 21:21:16 +02:00
parent d5e5628fe1
commit 9a58151caa
3 changed files with 15 additions and 3 deletions

View File

@@ -4877,7 +4877,8 @@ olx.source.TileWMSOptions.prototype.wrapX;
* loader: (ol.FeatureLoader|undefined),
* logo: (string|olx.LogoOptions|undefined),
* strategy: (ol.LoadingStrategy|undefined),
* url: (string|undefined)}}
* url: (string|undefined),
* wrapX: (boolean|undefined)}}
* @api
*/
olx.source.VectorOptions;
@@ -4946,6 +4947,16 @@ olx.source.VectorOptions.prototype.strategy;
olx.source.VectorOptions.prototype.url;
/**
* Wrap the world horizontally. Default is `true`. For vector editing across the
* 0° and 180° meridians to work properly, this should be set to `false`. The
* resulting geometry coordinates will then exceed the world bounds.
* @type {boolean|undefined}
* @api
*/
olx.source.VectorOptions.prototype.wrapX;
/**
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
* crossOrigin: (string|null|undefined),