terikon / marker-animate-unobtrusive

Google Maps markers become animated, unobtrusively

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

marker.setMap(null) not working

wqsaali opened this issue · comments

Hi,
if i define SlidingMarker.initializeGlobally();
then if there is any need to hide marker using marker.setMap(null) or marker.isVisible(false); both not working.
any idea?

I've tried exactly that, and for me both marker.setMap(null) and marker.setVisible(false) hide the marker.
I've tried this with and without initialGlobally call.
Can you please provide some code to review?