dimfeld / svelte-maplibre

Svelte bindings for the MapLibre mapping library
https://svelte-maplibre.vercel.app
MIT License
283 stars 34 forks source link

3D objects with Three.js #118

Open federicomarcantognini opened 6 months ago

federicomarcantognini commented 6 months ago

Hello, thank you for this library! is there a way to use three.js for custom 3D geometries as a map layer?

dimfeld commented 6 months ago

If it can be done with normal maplibre-js, then it can probably be made to work by adding something to this library. But I don't know anything about the topic.

federicomarcantognini commented 6 months ago

An example right from the maplibre website: https://maplibre.org/maplibre-gl-js/docs/examples/add-3d-model/