News for hackers. Stuff that matters.
Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by grandchild on Tuesday December 08, 2020 @12:41PM (#25348652)
Very very cool :)

Three observations:

- Why have a vertical limit when rotating in 3D? I have to click on 2D to look directly top-down. This would be the natural result if I simply tilted the camera all the way downward, but instead it maxes out at some arbitrary angle. (Same the other way, I want to look at the horizon, but I guess there are bandwidth issues involved.)

- Scroll zoom is waaay to slow. I have a mouse with an inertial wheel, so I can just let 'er rip, but this must be frustrating with a regular mouse wheel.

- +/- keys don't zoom, like I'd expect them to.

Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by pheelicks on Tuesday December 08, 2020 @12:48PM (#25348773)
The camera limits are just defaults, and can be overridden. Manipulating a camera in 3D can be counterintuitive, so the defaults try to keep things manageable at the expense of flexibility.

As you say, the further you can see the higher the bandwidth bill. If you really want to see the horizon, make the window narrow :)

For the other issues, could you please file a issue on the repo? This is not expected and works great on all machines I've tested.

Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by grandchild on Tuesday December 08, 2020 @12:52PM (#25348823)
Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by jsmith45 on Tuesday December 08, 2020 @01:30PM (#25349416)
I've also noticed a minor issue, I don't have time at the moment to file a report on github.

I noticed on the demo that if I zoom all the way out, and then use my mouse wheel to zoom in quickly enough I can clip into the earth and see the black below. This does seem to depend on scroll speed being high enough.