conterra / mapapps-query-builder

The Query Builder Bundle allows you to create your own Query Tools, that perform custom queries to a store.
https://demos.conterra.de/mapapps/resources/apps/downloads_query_builder/index.html
Apache License 2.0
7 stars 6 forks source link

Show Name of typeIdField instea of code #77

Closed njakuschona closed 1 month ago

njakuschona commented 1 month ago

In the file Metadatanalyzer.js after Line 43 the code adds for each type the domains and keys into a file. However, the type can not only have domains but also a code and a name. The code could be referrenced by an attribute from the Feature which is then set as typeIdField. I adjusted the code, so that name is shown instead of the code when the typeIdFiled is added to the query. Further, I replaced apprt-request with apprt-fetch.