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
+4 -4
View File
@@ -214,10 +214,10 @@ class TileImage extends UrlTile {
* @protected * @protected
*/ */
getKey() { getKey() {
return super.getKey() + return (
(this.contextOptions_ super.getKey() +
? '\n' + JSON.stringify(this.contextOptions_) (this.contextOptions_ ? '\n' + JSON.stringify(this.contextOptions_) : '')
: ''); );
} }
/** /**