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
Apologies if I'm missing something obvious, but I can't figure out how to set the fill colour of an MVT layer with a scale referencing a data field in the MVT source.
Which I hope would scale the fill colour with reference to the "canale_ind_2016" field present in my MVT data source, but instead all polygons are filled with the fallback colour (black).
Is there some way to accomplish this?
The text was updated successfully, but these errors were encountered:
Your reprex looks ok, so I assume that the problem is data.
The default colour for NA is black, so this suggests that the field doesn't exist, is not numeric, or all values are null / nan. You can easily verify this by making the layer pickable and adding a tooltip.
Arrgh, sorry, you're right—I had a misnamed field. Many apologies for not triple-checking that ahead of time!
(I had previously tried to make it pickable to do this exact verification, but that didn't work either, presumably because I had misnamed the field....)
Apologies if I'm missing something obvious, but I can't figure out how to set the fill colour of an MVT layer with a scale referencing a data field in the MVT source.
I've got:
Which I hope would scale the fill colour with reference to the "canale_ind_2016" field present in my MVT data source, but instead all polygons are filled with the fallback colour (black).
Is there some way to accomplish this?
The text was updated successfully, but these errors were encountered: