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

v8 ~ wms-group could benefit from opacity property #5631

Closed
hardreddata opened this issue Jul 14, 2021 · 4 comments
Closed

v8 ~ wms-group could benefit from opacity property #5631

hardreddata opened this issue Jul 14, 2021 · 4 comments

Comments

@hardreddata
Copy link
Contributor

Being able to set all the layers to load with "opacity": 1 can be helpful.

Not required for going live.

@hardreddata
Copy link
Contributor Author

Also the v7 WMS group would sort items by title and not name.

@tephenavies
Copy link
Member

Hi @RussellGrew. I think this could be done using "itemProperties":

{
  "name": "The WMS Group",
  "type": "wms-group",
  "url": "...",
  "itemProperties": {
    "opacity": 1
  }
}

The above should work for v8 and the same but using "type": "wms-getCapabilities" should work for v7.

@hardreddata
Copy link
Contributor Author

Thanks @steve9164 the itemProperties worked for opacity.

If you have any ideas for sorting the group contents by title and not name from the catalogue this is very welcome.

Maybe I just need to swap these around

return `${this.catalogGroup.uniqueId}/${layer.Name ?? layer.Title}`;
but this might not be good for everyone.

@nf-s
Copy link
Contributor

nf-s commented Apr 5, 2022

Closed by #6218

@nf-s nf-s closed this as completed Apr 5, 2022
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

No branches or pull requests

3 participants