Include context options in reprojection cache key

fix prettier
This commit is contained in:
mike-000
2020-05-04 16:45:29 +01:00
committed by GitHub
parent 76d2d6e737
commit c0577c3293

View File

@@ -207,17 +207,17 @@ class TileImage extends UrlTile {
getGutter() {
return 0;
}
/**
* Return the key to be used for all tiles in the source.
* @return {string} The key for all tiles.
* @protected
*/
getKey() {
return super.getKey() +
(this.contextOptions_
? '\n' + JSON.stringify(this.contextOptions_)
: '');
return (
super.getKey() +
(this.contextOptions_ ? '\n' + JSON.stringify(this.contextOptions_) : '')
);
}
/**