给定w =图像的宽度和h =图像的高度,如何设置它以使url中指定的图像的左下角指向标记定义的纬度和经度?
...
'icon': new google.maps.MarkerImage(url,
new google.maps.Size(w, h),
new google.maps.Point(?, ?),
new google.maps.Point(?, ?)
),
...
给定w =图像的宽度和h =图像的高度,如何设置它以使url中指定的图像的左下角指向标记定义的纬度和经度?
...
'icon': new google.maps.MarkerImage(url,
new google.maps.Size(w, h),
new google.maps.Point(?, ?),
new google.maps.Point(?, ?)
),
...