Rename defaultDataProjection to dataProjection #8152
This commit is contained in:
committed by
Guillaume Beraudo
parent
6c538c12f6
commit
cbaa9a7567
@@ -56,7 +56,7 @@ const MVT = function(opt_options) {
|
||||
/**
|
||||
* @type {module:ol/proj/Projection}
|
||||
*/
|
||||
this.defaultDataProjection = new Projection({
|
||||
this.dataProjection = new Projection({
|
||||
code: '',
|
||||
units: Units.TILE_PIXELS
|
||||
});
|
||||
@@ -411,7 +411,7 @@ MVT.prototype.readFeatures = function(source, opt_options) {
|
||||
* @api
|
||||
*/
|
||||
MVT.prototype.readProjection = function(source) {
|
||||
return this.defaultDataProjection;
|
||||
return this.dataProjection;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user