Skip to content

Commit

Permalink
Merge pull request #95 from open-pv/94-add-data-license-to-three-js
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianK13 authored Nov 15, 2023
2 parents b9ddada + 00ea4f4 commit 1809dbf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/ThreeViewer/ThreeViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,16 @@ export default function ThreeViewer() {
<div className="viewer-container" style={{ position: "relative" }}>
<Canvas className="three-viewer" flat linear></Canvas>
<canvas id="canvas" width={0} height={0}></canvas>
{window.showViridisLegend &&
<div style={{ position: 'absolute', left: 0, bottom: 0, margin: '10px' }}>
<p style={{ fontSize: '8px' }}>
<a href="https://geodaten.bayern.de/opengeodata/">Gebäudedaten</a> der
<a href="https://www.ldbv.bayern.de/vermessung/bvv.html"> Bayerischen Vermessungsverwaltung </a> |
<a href="https://creativecommons.org/licenses/by/4.0/deed.de">CC BY 4.0</a>
</p>

</div>
}
{window.showViridisLegend && (
<>
<button
Expand Down

0 comments on commit 1809dbf

Please sign in to comment.