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
In the State grid map template, the color scale is re-initialized each time we re-render the map (which would happen if the viewport width changes). This is unnecessary since the scale will be based on the input data, which won't vary based on viewport. We should just create the scale once and pass it to the render function.
The text was updated successfully, but these errors were encountered:
In the State grid map template, the color scale is re-initialized each time we re-render the map (which would happen if the viewport width changes). This is unnecessary since the scale will be based on the input data, which won't vary based on viewport. We should just create the scale once and pass it to the render function.
The text was updated successfully, but these errors were encountered: