feature/threejs-update
Matthew Harrison-Jones 2016-09-16 11:39:02 +01:00
rodzic 2aa7406b5c
commit 3f0597939d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2BFA474C82C30A2C
2 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -106,7 +106,10 @@ class GeoJSONTileLayer extends TileLayer {
}
_createTile(quadcode, layer) {
return new GeoJSONTile(quadcode, this._path, layer, this._options);
var newOptions = extend({}, defaults, this._options);
delete newOptions.attribution;
return new GeoJSONTile(quadcode, this._path, layer, newOptions);
}
// Destroys the layer and removes it from the scene and memory

Wyświetl plik

@ -30,7 +30,7 @@ text-decoration: underline;
width: 250px;
padding: 4px 7px;
padding-right: 120px;
background: rgba(255, 255, 255, 0.9);
background: #ffffff;
border-radius: 3px 0 0;
opacity: 0;
transition: opacity 100ms linear;