tentone / geo-three

Tile based geographic world map visualization library for threejs
https://tentone.github.io/geo-three/docs/
MIT License
651 stars 105 forks source link

3d tileset #42

Closed laraduarte closed 1 year ago

laraduarte commented 1 year ago

Hi,

This is a question and not a bug. I'm currently loading a 3dtiles model and a Bing layer.

The model is a region model with the coordinates below // [west, south, east, north, minimum height, maximum height] -0.00010867585747044324 0.8990759032023482 0.00003249817050595483 0.8991635359312518 15.237850105389953 121.4680495094508

I want to place the model correctly on the bing Layer. In the ideal world, I think it might be possible to calculate the model's centre and then find that position on the Bing Layer.

Imagine the center of the model is lat/lng is 51.51356734838993, -0.008762004251769352, how can I move an object so it stays on the right place on top of the Bing layer? (red pin on the image)

Thank you

image