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
yes I see what you mean – I don't think it's triggering a page refresh though, its just transitioning from 359 -> 0 counterclockwise so the light source does almost a full rotation instead of just moving slightly clockwise to 360/0.
mollymerp
changed the title
Changing hillshade-illumination-direction near 0/360 triggers page refresh
incorrect interpolation for transitions on light-position and hillshade-illumination-direction
Jan 10, 2018
mollymerp
changed the title
incorrect interpolation for transitions on light-position and hillshade-illumination-direction
incorrect interpolation for transitions on hillshade-illumination-direction
Jan 11, 2018
mapbox-gl-js version: 0.43.0
Steps to Trigger Behavior
hillshade-illumination-direction
of 359map.setPaintProperty(layername, 'hillshade-illumination-direction', 0)
Expected Behavior
Almost no visible effect.
Actual Behavior
Entire map repaints with large visible flicker.
Easily seen here: https://bl.ocks.org/stevage/raw/a4569595d8592181ab09a5a13166be8d
(The current direction is shown in the URL)
Code: https://gist.github.com/stevage/a4569595d8592181ab09a5a13166be8d
The text was updated successfully, but these errors were encountered: