Himberjack
Himberjack

Reputation: 5792

How to place 2 images in Google Maps API V3

I am trying to put 2 images - one over the other on a marker. But shadow is not good as the google maps can't overlay one each other.

How can I put 2 icons?

myMarker = new google.maps.Marker({
                position: latLong,
                map: map,
                shadow: '/images/map-shadow.png',
                icon: 'http://maps.google.com/mapfiles/ms/icons/green-dot.png'
            });

Thanks!

Upvotes: 1

Views: 531

Answers (1)

skarE
skarE

Reputation: 5890

Have a look at the complex icon example in the documentation

Upvotes: 1

Related Questions