Remove ol/Attribution

This commit is contained in:
Tim Schaub
2017-12-12 19:27:12 -07:00
parent ac6b3fb908
commit 7e3d44e35a
8 changed files with 24 additions and 239 deletions

View File

@@ -136,7 +136,7 @@ _ol_source_TileJSON_.prototype.handleTileJSONResponse = function(tileJSON) {
this.tileUrlFunction =
_ol_TileUrlFunction_.createFromTemplates(tileJSON.tiles, tileGrid);
if (tileJSON.attribution !== undefined && !this.getAttributions2()) {
if (tileJSON.attribution !== undefined && !this.getAttributions()) {
var attributionExtent = extent !== undefined ?
extent : epsg4326Projection.getExtent();