Open paodb opened 3 years ago
Let's replace the first one for the animation property of the web component and try to see if it's working. Regarding the second one, let's just remove that.
The animation property doesn't seem to be working on the web-component so I need to investigate a little bit more before doing more changes.
As this encloses two diferent actions, I've created a new issue for the removal of the optimized option https://github.com/FlowingCode/GoogleMapsAddon/issues/81.
The animation part it's tricky, I followed several examples like https://developers.google.com/maps/documentation/javascript/examples/marker-animations#maps_marker_animations-html but the web-component it's not triggering the animation. And even if that works, the current property in the java side, "animationEnabled" is a boolean and the web-component property is "animation" and it expects a String representing one of the two possible animation values: DROP or BOUNCE. So I think this "animationEnabled" property should be deprecated if not removed.
This two properties have no effect on markers when set to true.