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
I have a MVTLayer inside of a React project residing in a Docker container. I have a ternary statement which decides the onFillColor and updateTriggers with the variable to update on. Basically if I hover on a country the selected country changes thus triggering the fill color to change. Everything was working great until one day it just didn't anymore (I can't pinpoint the exact change where things went downhill). The updateTrigger no longer seems to work properly and the fill color does not change anymore. It still works for everyone on my team and the strange thing is that it works for me outside of Docker and also it works in Docker if I use a GeoJsonLayer set up the same way. Also, the onHover and autoHighlight functions still work for the MVTLayer. I've tried changing branches, reseting in Git but nothing seems to work. Any insight here as to what might be the cause of this? I've been stuck for days.
Flavors
Script tag
React
Python/Jupyter notebook
MapboxOverlay
GoogleMapsOverlay
CartoLayer
ArcGIS
Expected Behavior
I expect to see the fill color change for whichever country I hover over.
Steps to Reproduce
-Use Docker to containerize React app with Deck.gl.
-Add MVTLayer to DeckGL
-Use updateTriggers and getFillColor to change color of asset on hover.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a MVTLayer inside of a React project residing in a Docker container. I have a ternary statement which decides the onFillColor and updateTriggers with the variable to update on. Basically if I hover on a country the selected country changes thus triggering the fill color to change. Everything was working great until one day it just didn't anymore (I can't pinpoint the exact change where things went downhill). The updateTrigger no longer seems to work properly and the fill color does not change anymore. It still works for everyone on my team and the strange thing is that it works for me outside of Docker and also it works in Docker if I use a GeoJsonLayer set up the same way. Also, the onHover and autoHighlight functions still work for the MVTLayer. I've tried changing branches, reseting in Git but nothing seems to work. Any insight here as to what might be the cause of this? I've been stuck for days.
Flavors
Script tag
React
Python/Jupyter notebook
MapboxOverlay
GoogleMapsOverlay
CartoLayer
ArcGIS
Expected Behavior
I expect to see the fill color change for whichever country I hover over.
Steps to Reproduce
-Use Docker to containerize React app with Deck.gl.
-Add MVTLayer to DeckGL
-Use updateTriggers and getFillColor to change color of asset on hover.
Beta Was this translation helpful? Give feedback.
All reactions