-
Notifications
You must be signed in to change notification settings - Fork 813
Open
Description
OK, now I want to use marker animation, but I can't find some official example.
I found solution (https://stackoverflow.com/questions/44729776/how-can-animation-be-added-to-markers-in-react-google-maps) where I do it exacly like in vanilia javaScript. Just adding animation={google.maps.Animation.DROP} to marker:
<Marker
title={}
name={}
position={}
animation={google.maps.Animation.DROP}
/>
but then I have error
google is not defined
And, unfortunately, adding /global google/ at the top of my js won't help.
So please, advice me how to add marker animation using google-maps-react.
Metadata
Metadata
Assignees
Labels
No labels