Skip to content
New issue

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

After AddMapLayerRequest fix #2361

Merged

Conversation

okauppinen
Copy link
Contributor

Some requests doesn't work properly if them are requested instantly after AddMapLayerRequest. Problems occur only when layer is added first time to map (DescribeLayer isn't loaded). The reason is that request handler tries to find layer from selected layers (not all available).

https://github.com/oskariorg/oskari-frontend/blob/master/bundles/mapping/mapmodule/request/map.layer.handler.js#L45-L62

Set opacity and style before request. Add option to rearrange layers after add is completed.

@okauppinen okauppinen changed the title AddMapLayerRequest After AddMapLayerRequest fix Aug 8, 2023
@ZakarFin ZakarFin added this to the 2.11.1 milestone Aug 8, 2023
@ZakarFin ZakarFin merged commit e9861d7 into oskariorg:hotfix/2.11.1 Aug 8, 2023
1 check passed
@okauppinen okauppinen deleted the fix/mapfull-layer-opacity branch April 9, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants