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

[Bug] Info format is hardcoded to default value causing getFeatureInfoText to fail #8621

Closed
kolpav opened this issue Mar 10, 2024 · 0 comments · Fixed by #8771
Closed

[Bug] Info format is hardcoded to default value causing getFeatureInfoText to fail #8621

kolpav opened this issue Mar 10, 2024 · 0 comments · Fixed by #8771
Assignees
Labels

Comments

@kolpav
Copy link

kolpav commented Mar 10, 2024

Description

I couldn't get feature info request to work because current implementation hard codes INFO_FORMAT value.

info_format: 'application/vnd.ogc.gml'

I think it should take value returned from service when calling GetCapabilities

"requests": {
    "GetFeatureInfo": {
      "mimeTypes": [
        "text/html"
      ]
    }
  }

I am very new to WMS and other mapping technologies so I might be doing something wrong.

Steps to Reproduce

Call getFeatureInfoText on service not supporting application/vnd.ogc.gml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants