Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

Having a problem, I'm trying to add a custom shadow but somehow it is not showing. I checked for bugs using firebug but nothing wrong, the path is also correct. I have no idea why it's not working. code below.

var marker = new google.maps.Marker({  
        map: map,
         position: latlngset, 
         shadow: 'codes/icon/shadow.png',
         icon: baseicon+icon 
        });
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
334 views
Welcome To Ask or Share your Answers For Others

1 Answer

With the release of v3.14 as the experimental version, any maps not specifying a version number, will get the new visual refresh behavior, which includes no shadows.

Changes in the visual refresh

  • All shadows have been removed in the visual refresh. Any shadows specified programmatically will be ignored.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...