Closed dhixsingh closed 5 years ago
@ayoung012 I will let you know which attributes to use to calculate the height of the fire.
flame_ht
and e_intsty
are the columns you will need to pull the data out of.
@dhixsingh note black colour when intensity is null. Overall, a pretty neat effect... https://blog.mapbox.com/data-driven-styling-for-fill-layers-in-mapbox-gl-js-80bb5292af4e
:+1: Could you make the colour scheme/shades for the fire configurable too, as I am sure we will want to fiddle with it later. Coming along very nicely!
@ayoung012 note that I cannot change the map base layer anymore, it is stuck on Dark. Would be great if you could spend some time on setting up testing this week too.
The 3d height works well, nice!
Though, I noticed some functionality gets messed up when I change the map base layer now from Dark to Satellite (probably others too). Mainly
@dhixsingh The above is now fixed and somewhat accounted for in some unit tests. Selenium tests to come... 3D has some noticable performance degradation on slower devices, I propose having 3D off by default and a dedicated button for enabling it.
Yes agree re making the 3d effect optional.
Could you also
pitch
setting to the map init and set it to 60 degrees or something as a default, to make the 3D effect more obvious; and@dhixsingh These have been done. Note that pitch is set upon selecting 3D mode in settings.
See https://www.mapbox.com/mapbox-gl-js/example/3d-buildings/.