Include context options in reprojection cache key
fix prettier
This commit is contained in:
@@ -207,17 +207,17 @@ class TileImage extends UrlTile {
|
|||||||
getGutter() {
|
getGutter() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the key to be used for all tiles in the source.
|
* Return the key to be used for all tiles in the source.
|
||||||
* @return {string} The key for all tiles.
|
* @return {string} The key for all tiles.
|
||||||
* @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