We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapsui Version 4.1.3
Mapsui Platform WinUI
Device Windows 11 build 22621.3007
Describe the bug Wrap a Layer in a RasterizingTileLayer. Consider the following code
Map _map = new(); Layer _layer = new() { Style = /* Style 1 */; DataSource = /* DataSource 1 */; }; RasterizingTileLayer _tileLayer = new(_layer);
Later on you want to update the style and data source of _layer, e.g.
_layer
_layer.Style = /* Style 2 */ _layer.DataSource = /* DataSource 2 */ _tileLayer.ClearCache(); _map.Refresh();
The style will be correctly updated to Style 2 but the data source will remain DataSource 1. I provided a minimal example below.
To Reproduce Steps to reproduce the behavior:
Expected behavior Expecting the datasource to be updated and rendered.
The text was updated successfully, but these errors were encountered:
@inforithmics Is this something you could look at?
Sorry, something went wrong.
No branches or pull requests
Mapsui Version
4.1.3
Mapsui Platform
WinUI
Device
Windows 11 build 22621.3007
Describe the bug
Wrap a Layer in a RasterizingTileLayer. Consider the following code
Later on you want to update the style and data source of
_layer
, e.g.The style will be correctly updated to Style 2 but the data source will remain DataSource 1. I provided a minimal example below.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expecting the datasource to be updated and rendered.
The text was updated successfully, but these errors were encountered: