Closed CyberDNS closed 4 months ago
@CyberDNS thanks again for this, will update and merge!
@CyberDNS whoops, forgot, this is coming from your repo, so you'll have to update to merge. Let me know if you need any help.
@CyberDNS since I'm unable to update your repo to resolve conflicts, and I'm sure you are all as busy as we are, I'm going to close this PR and re-open with the same changes.
Hi dear GeoBlazor Team,
Description: We noticed an issue while setting visibility from a BaseMapLayer. This issue can be reproduced only if a BaseMapLayer has been added by code to the MapView. This issue does not occur if a BaseMapLayer has been added using markup of the component (Razor language).
Changes: To fix this issue, JsModule has been set while executing the AddLayer method, whether isBasemapLayer is true or false. New test method TestCanSetBaseMapLayerVisibility has been added to validate the fix.
Impact: This change fix the failure while setting layer visibility from a BaseMapLayer.
Resolves #335
Br, David from Team GIS - POST Luxembourg