In line 4 of image.ts, the type ImageOptions is set to be the same as VisualOptions, when it really should be the same as VisualSourceOptions. VisualSourceOptions includes necessary fields for visual layers with an HTML element as its source. We just need to use this type instead of VisualOptions.
The text was updated successfully, but these errors were encountered:
In line 4 of image.ts, the type
ImageOptionsis set to be the same asVisualOptions, when it really should be the same asVisualSourceOptions.VisualSourceOptionsincludes necessary fields for visual layers with an HTML element as its source. We just need to use this type instead ofVisualOptions.The text was updated successfully, but these errors were encountered: