Rename defaultDataProjection to dataProjection #8152

This commit is contained in:
ThomasG77
2018-05-03 21:12:41 +02:00
committed by Guillaume Beraudo
parent 6c538c12f6
commit cbaa9a7567
12 changed files with 28 additions and 29 deletions

View File

@@ -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;
};