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

Publish title attribute in the general request for list of layers #88

Closed
fzadrazil opened this issue Aug 14, 2020 · 0 comments · Fixed by #105
Closed

Publish title attribute in the general request for list of layers #88

fzadrazil opened this issue Aug 14, 2020 · 0 comments · Fixed by #105
Labels
enhancement New feature or request

Comments

@fzadrazil
Copy link
Collaborator

fzadrazil commented Aug 14, 2020

It would be convenient to display title instead of name in the client apps like HSLayers as title contains original name of the layer in human readable form (including special characters). Right now the GET request for list of layers (/rest//layers) returns only names of layers. Adding title to the response JSON like this would solve it

[
  {
    "name": "uzivatelske_kresleni",
    "title": "Uživatelské kreslení",
    "url": "https://hub.lesprojekt.cz/rest/fzadrazil/layers/uzivatelske_kresleni",
    "uuid": "d50de2bd-8169-4ea5-836b-20a08ca486c5"
  }
]
@jirik jirik added this to the WFS proxy E1 milestone Aug 15, 2020
@jirik jirik added the enhancement New feature or request label Aug 15, 2020
@jirik jirik modified the milestones: WFS proxy E1, WFS proxy E2 Aug 19, 2020
index-git added a commit that referenced this issue Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants