Center of google map marker image?

Hi,

When I create marker on google map with custom image,

does it use image “left-top” to be set position with lat, lng coordinate or
actual “center” of the image to be set position with lat, lng coordinate?

var image = {
url: ‘images/beachflag.png’,
size: new google.maps.Size(20, 20),
origin: new google.maps.Point(0, 0),
anchor: new google.maps.Point(0, 0)