Setup
This commit is contained in:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# SCM syntax highlighting & preventing 3-way merges
|
||||||
|
pixi.lock merge=binary linguist-language=YAML linguist-generated=true -diff
|
||||||
25
.gitignore
vendored
Normal file
25
.gitignore
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# pixi environments
|
||||||
|
.pixi/*
|
||||||
|
!.pixi/config.toml
|
||||||
|
|
||||||
|
# Node.js
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# Build output
|
||||||
|
dist/
|
||||||
|
|
||||||
|
# Environment variables
|
||||||
|
.env
|
||||||
|
|
||||||
|
# Editor
|
||||||
|
.vscode/
|
||||||
|
|
||||||
|
# OS files
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# LiDAR / große Daten (für später sehr wichtig!)
|
||||||
|
data/
|
||||||
|
*.las
|
||||||
|
*.laz
|
||||||
|
*.ply
|
||||||
12
index.html
Normal file
12
index.html
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Projekt Visualisierung</title>
|
||||||
|
<link href="https://unpkg.com/maplibre-gl/dist/maplibre-gl.css" rel="stylesheet" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="map" style="width:100%; height:100vh;"></div>
|
||||||
|
<script type="module" src="/main.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
8
main.js
Normal file
8
main.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import maplibregl from "maplibre-gl";
|
||||||
|
|
||||||
|
const map = new maplibregl.Map({
|
||||||
|
container: 'map',
|
||||||
|
style: 'https://tiles.openfreemap.org/styles/bright',
|
||||||
|
center: [9.199592299999997, 52.260299116017976],
|
||||||
|
zoom: 15
|
||||||
|
});
|
||||||
1118
package-lock.json
generated
Normal file
1118
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
18
package.json
Normal file
18
package.json
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"name": "workspace",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"dev": "vite"
|
||||||
|
},
|
||||||
|
"keywords": [],
|
||||||
|
"author": "",
|
||||||
|
"license": "ISC",
|
||||||
|
"type": "commonjs",
|
||||||
|
"dependencies": {
|
||||||
|
"maplibre": "^0.0.1-security",
|
||||||
|
"maplibre-gl": "^5.21.1",
|
||||||
|
"vite": "^8.0.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
18
pixi.lock
generated
Normal file
18
pixi.lock
generated
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
version: 6
|
||||||
|
environments:
|
||||||
|
default:
|
||||||
|
channels:
|
||||||
|
- url: https://conda.anaconda.org/conda-forge/
|
||||||
|
options:
|
||||||
|
pypi-prerelease-mode: if-necessary-or-explicit
|
||||||
|
packages:
|
||||||
|
win-64:
|
||||||
|
- conda: https://conda.anaconda.org/conda-forge/win-64/nodejs-25.8.2-h80d1838_0.conda
|
||||||
|
packages:
|
||||||
|
- conda: https://conda.anaconda.org/conda-forge/win-64/nodejs-25.8.2-h80d1838_0.conda
|
||||||
|
sha256: 5e38e51da1aa4bc352db9b4cec1c3e25811de0f4408edaa24e009a64de6dbfdf
|
||||||
|
md5: e626ee7934e4b7cb21ce6b721cff8677
|
||||||
|
license: MIT
|
||||||
|
license_family: MIT
|
||||||
|
size: 31271315
|
||||||
|
timestamp: 1774517904472
|
||||||
Reference in New Issue
Block a user