2

给定w =图像的宽度和h =图像的高度,如何设置它以使url中指定的图像的左下角指向标记定义的纬度和经度?

...
'icon': new google.maps.MarkerImage(url,
  new google.maps.Size(w, h),
  new google.maps.Point(?, ?),
  new google.maps.Point(?, ?)
),
...
4

1 回答 1

3
...
'icon': new google.maps.MarkerImage(url,
  new google.maps.Size(w, h),
  new google.maps.Point(0,0),
  new google.maps.Point(0,h)
),
...
于 2012-11-07T09:43:41.713 回答