Skip to content

Hide WMS feature attributes #6204

Answered by hardreddata
MoRadwan74 asked this question in Q&A
Discussion options

You must be logged in to vote

You can manually define the format of your table using feature info templates

https://docs.terria.io/guide/connecting-to-data/customizing-data-appearance/feature-info-template/

Though with this solution anyone will be able to click 'show raw data' and see the underlying data.

You could inspect that table element to get the html starting point. Probably something like

  "featureInfoTemplate":{
    "template":"<table><tbody><tr><td>latitude</td><td>{{lat}}</td></tr><tr><td>longitude</td><td>{{lon}}</td></tr></tbody></table>"
   }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MoRadwan74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants