抓google.maps.Marker.prototype.setPosition调用覆盖google.maps.Marker.prototype.setPosition返回错误
(function(){
var setPos = google.maps.Marker.prototype.setPosition;
google.maps.Marker.prototype.setPosition = function(latLng){
console.log(["setPos", latLng]);
setPos(latLng);
};
})();
返回错误
this.set is not a function
http://maps.gstatic.com/intl/cs_ALL/mapfiles/api-3/2/0/main.js
Line 28
为什么呢?谢谢