Always use load extent with real world center
This commit is contained in:
@@ -146,10 +146,6 @@ export class VectorSourceEvent extends Event {
|
||||
* @property {boolean} [wrapX=true] Wrap the world horizontally. For vector editing across the
|
||||
* -180° and 180° meridians to work properly, this should be set to `false`. The
|
||||
* resulting geometry coordinates will then exceed the world bounds.
|
||||
* @property {boolean} [loadWrapX=true] Call the loader with one world width either side
|
||||
* of the projection extent when the world is wrapped horizontally. This allows features
|
||||
* to be loaded in a single request, but may be inefficient. If `false` only the viewport
|
||||
* extent is used and the loader must determine the appropriate real world requests.
|
||||
*/
|
||||
|
||||
|
||||
@@ -190,12 +186,6 @@ class VectorSource extends Source {
|
||||
*/
|
||||
this.format_ = options.format;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.loadWrapX_ = options.loadWrapX === undefined ? true : options.loadWrapX;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {boolean}
|
||||
@@ -811,14 +801,6 @@ class VectorSource extends Source {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return {boolean} The loadWrapX option used to construct the source.
|
||||
*/
|
||||
getLoadWrapX() {
|
||||
return this.loadWrapX_;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return {boolean} The source can have overlapping geometries.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user