You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using OL with TypeScript and until v9 I was using TileLayer from ol/layer/Tile and after release of this version I tried the WebGLTile layer.
With the TileLayer you need to specified the source type (Generic type 'TileLayer<TileSourceType>' requires 1 type argument(s).ts(2314)), but with the WebGL TileLayer this throws an error.
Is there a problem the WebGL Options type to be defined as Options<SourceType extends DataTile | TileImage>?
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm using OL with TypeScript and until v9 I was using
TileLayer
fromol/layer/Tile
and after release of this version I tried the WebGLTile layer.With the TileLayer you need to specified the source type (
Generic type 'TileLayer<TileSourceType>' requires 1 type argument(s).ts(2314)
), but with the WebGL TileLayer this throws an error.Is there a problem the WebGL
Options
type to be defined asOptions<SourceType extends DataTile | TileImage>
?The text was updated successfully, but these errors were encountered: