Skip to content

Commit

Permalink
correctly initialize API url
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow committed Jan 6, 2025
1 parent f8b41a4 commit 8f69734
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apps/geoadmin-demo/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@
<script src="https://cdn.jsdelivr.net/gh/camptocamp/geocat-geonetwork-ui@wc-dist-geocat-gpf/gn-wc.js"></script>
</head>
<body>
<!-- this initializes the API url -->
<gn-record-view
style="display: none"
api-url="https://www.geocat.ch/geonetwork/srv/api"
record-id="8698bf0b-fceb-4f0f-989b-111e7c4af0a4"
></gn-record-view>

<div class="map-container">
<div class="search-container">
<input type="text" id="search" placeholder="Search for record.." />
<input type="text" id="search" placeholder="Search for record..." />
<ul id="results"></ul>
</div>
<iframe
Expand Down

0 comments on commit 8f69734

Please sign in to comment.