streets-gl icon indicating copy to clipboard operation
streets-gl copied to clipboard

Sun in unrealistic positions when time of day is not set to dynamic

Open tguen opened this issue 2 years ago • 1 comments

Describe the bug Edited because I don't know how the sun moves apparently

When time of day is set to morning, the sun appears high in the sky to the Northeast. When set to noon, the sun still appears in the North. This doesn't happen at latitudes above about 25 AFAIK. The Southern hemisphere also has the sun in the South when time is set to evening.

Expected behavior Sun should be at realistic position for current latitude.

Map location https://streets.gl/#59.31808,18.07854,42.00,47.50,1738.56

Screenshots Stockholm Screenshot 2023-05-26 at 21-01-25 Streets GL

System information

  • OS: Linux
  • Browser with version: Firefox 112

Additional context According to https://sun-direction.com, if at Null Island, the morning & noon settings would be accurate around June, and the evening position would be accurate around December. Maybe lat/lon is not being properly accounted for?

tguen avatar May 27 '23 04:05 tguen

TODO: use mourner/suncalc to calculate presets for a specific location on the map

StrandedKitty avatar Jun 15 '23 08:06 StrandedKitty