FusionWorks / react-admin-google-maps

28 stars 11 forks source link

GMapField not rendering multiple markers unless refreshed #3

Open saft opened 4 years ago

saft commented 4 years ago

Hi, Thanks for the good work. I have a problem using GMapField in a Show element. When I click on the record on the list page it takes me to the show page and the map is totally blue. When I refresh the page the map centres correctly and shows the correct markers. I have other Fields on the page that show the same data and they show it correctly on the first load of the page.

Edit: Neither GMapField and GMapInput update when a change in the store occurs and that is the source of the above problem.

grigoreme commented 4 years ago

Hi @saft, Thank you for using our package and submitting issues. We will take a look at the issue as we have time. If you already have a solution we will be glad to check your pull request.

grigoreme commented 4 years ago

@saft Can I see the code where you got this issue including the backend sample?