Skip to content

Commit

Permalink
Merge pull request deegree#96 from lat-lon/itemType-165-8877
Browse files Browse the repository at this point in the history
Add itemType in collection HTML
  • Loading branch information
copierrj authored May 3, 2023
2 parents 0b57e98 + 62309dd commit bb423c2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion deegree-ogcapi-features/src/main/resources/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,14 @@ <h1 v-cloak class="mt-5">{{ title }}</h1>
</div>
</div>
</div>
<div class="row mt-2" v-if="itemType">
<div class="col-md-3">Item type</div>
<div class="col-md-9">
<div class="row">
<div v-cloak class="col-md-12" >{{ itemType }}</div>
</div>
</div>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -185,7 +193,8 @@ <h1 v-cloak class="mt-5">{{ title }}</h1>
metadataLinks: '',
extent: '',
crs: '',
storageCrs: ''
storageCrs: '',
itemType: ''
},

created() {
Expand All @@ -206,6 +215,7 @@ <h1 v-cloak class="mt-5">{{ title }}</h1>
this.extent = json.extent;
this.crs = json.crs;
this.storageCrs = json.storageCrs;
this.itemType = json.itemType;
fetchConfigAndSetExtent(this.extent.spatial.bbox[0]);
}
}
Expand Down

0 comments on commit bb423c2

Please sign in to comment.