Rename ol.projection.getFromCode to ol.projection.get
This commit is contained in:
@@ -24,7 +24,7 @@ ol.source.BingMaps = function(bingMapsOptions) {
|
||||
|
||||
goog.base(this, {
|
||||
opaque: true,
|
||||
projection: ol.projection.getFromCode('EPSG:3857')
|
||||
projection: ol.projection.get('EPSG:3857')
|
||||
});
|
||||
|
||||
/**
|
||||
@@ -112,7 +112,7 @@ ol.source.BingMaps.prototype.handleImageryMetadataResponse =
|
||||
})));
|
||||
|
||||
var transform = ol.projection.getTransform(
|
||||
ol.projection.getFromCode('EPSG:4326'), this.getProjection());
|
||||
ol.projection.get('EPSG:4326'), this.getProjection());
|
||||
var attributions = goog.array.map(
|
||||
resource.imageryProviders,
|
||||
function(imageryProvider) {
|
||||
|
||||
Reference in New Issue
Block a user