Include context options in reprojection cache key
fix prettier
This commit is contained in:
@@ -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_) : '')
|
||||||
: '');
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user