-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Maps Tiles demo needed improvements #331
Comments
Note that MapControls projects the camera
I tried that and it still loaded many more tiles than if i set it closer to the surface of the planet (when zoomed in). |
Did you try adjusting camera.up? The docs say that MapControls pan orthogonal to the cameras up direction: https://threejs.org/docs/?q=map#examples/en/controls/MapControls.screenSpacePanning |
Yes, but the |
Also, I don't think |
Object3D.up is a configurable value - you have to change it. |
Closing in favor of other issues |
Here's a list of features needed to improve
Improved Globe Orbit Controls
Use three.js' MapControls which pans along the camera's "up" direction rather than in screen space.Demo update #346Use the "Ellipsoid" class to derive latitude, longitude, and surface normal from the camera position position so we can adjust the plane the map controls pans on based on the position.Foreground child tiles are empty for a period #46Fix the controls target to be the WGS84 ellipsoid surface so we scroll on a reasonable plane.Demo update #346Use raycasting to adjust the camera / controls target height based on loaded geometry / mountains.Demo update #346Zoom Controls
Camera View Range
Scale the camera near and far so only necessary tiles are loaded - and tiles on the opposite side of the globe are not.Demo update #346Metadata
Display data copyrights based on visible tilesGoogle Earth Demo: Add support for retrieving credits #337Display current latitude and longitudeGoogle Tiles: Add Lat / Lon display #338Jump to location
The text was updated successfully, but these errors were encountered: