Skip to content

Instantly share code, notes, and snippets.

View birkskyum's full-sized avatar

Birk Skyum birkskyum

  • 🇩🇰
View GitHub Profile
@birkskyum
birkskyum / add-3d-model-with-shadow.html
Last active October 23, 2024 15:43
MapLibre GL JS - Modified Three.js model example (add-3d-model) with Shadow
<!DOCTYPE html>
<html lang="en">
<head>
<title>Add a 3D model with three.js</title>
<meta property="og:description" content="Use a custom style layer with three.js to add a 3D model to the map." />
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet' href='../../dist/maplibre-gl.css' />
<script src='../../dist/maplibre-gl-dev.js'></script>