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 am trying to run google-map-react in my application.
The idea is when I open the page with google maps it should show me a heatmap with all the data. Then I have a dropdown list where I can pick data based on the weekday. So for example if I pick monday the google map should rerender the map and show me only data for mondays. The map is rendered correctly at the beginning but when I click the button in the dropdown list it doesnt rerender.
Is this a bug or am I doing something wrong? Hope that anyone can guide me here.
I have shared my code below. The first code shows the state I am passing to Maps component. The second code is the Maps component.
Hi,
I am trying to run google-map-react in my application.
The idea is when I open the page with google maps it should show me a heatmap with all the data. Then I have a dropdown list where I can pick data based on the weekday. So for example if I pick monday the google map should rerender the map and show me only data for mondays. The map is rendered correctly at the beginning but when I click the button in the dropdown list it doesnt rerender.
Is this a bug or am I doing something wrong? Hope that anyone can guide me here.
I have shared my code below. The first code shows the state I am passing to Maps component. The second code is the Maps component.
FIRST CODE
SECOND CODE
The text was updated successfully, but these errors were encountered: