Logging the draw function inside the raster layer reveals that the raster layer is not properly removed if the plot options are changed.
Switching back and forth from raster to vector several times results in multiple "hidden" rasterlayers that still responds to eventbus triggers. This can be seen when logging in the draw() function and notice that, e.g., when flipping an axis, the draw function is triggered multiple times: once for each time the raster layer has been switched to.
The source of this is unknown, but should be fixed as it reduces performance.
Logging the draw function inside the raster layer reveals that the raster layer is not properly removed if the plot options are changed.
Switching back and forth from raster to vector several times results in multiple "hidden" rasterlayers that still responds to eventbus triggers. This can be seen when logging in the draw() function and notice that, e.g., when flipping an axis, the draw function is triggered multiple times: once for each time the raster layer has been switched to.
The source of this is unknown, but should be fixed as it reduces performance.