You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to draw paths/lines on top of the OSMBuildings map?
I want to use OSMBuildings to display a navigation path. Like this, but with 3D buildings and across a city, not a country like the example.
I got as far as using the pointerdown event to get local coordinates and then unprojecting them to get world coordinates.
I know I can use addOBJ or addMarker to add them to the world coordinates, but I can't figure out any way to draw a path between two points.
I suppose I could make a "dotted" line using markers, but that can't be the right way to go about it, and I'd like a "filled" line I could animate on scroll.
I was initially struggling trying to use threejs to display geojson data, but it's really not performing well so I'd really like to use osmb if possible, your 3D engine is way faster.
The text was updated successfully, but these errors were encountered:
Hi, There is no simple solution. Some users are buffering line strings (extend them to faces) and then are creating 3d models. I'd consider having a look into MapLibre as well.
Is there a way to draw paths/lines on top of the OSMBuildings map?
I want to use OSMBuildings to display a navigation path. Like this, but with 3D buildings and across a city, not a country like the example.
I got as far as using the pointerdown event to get local coordinates and then unprojecting them to get world coordinates.
I know I can use addOBJ or addMarker to add them to the world coordinates, but I can't figure out any way to draw a path between two points.
I suppose I could make a "dotted" line using markers, but that can't be the right way to go about it, and I'd like a "filled" line I could animate on scroll.
I was initially struggling trying to use threejs to display geojson data, but it's really not performing well so I'd really like to use osmb if possible, your 3D engine is way faster.
The text was updated successfully, but these errors were encountered: