Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shadow not showing google maps marker

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 
        });
like image 332
Tonzkie Avatar asked Aug 22 '13 01:08

Tonzkie


1 Answers

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.
like image 123
geocodezip Avatar answered Oct 12 '22 06:10

geocodezip