1
var marker = new google.maps.Marker({
        position: new google.maps.LatLng(9.967937,-84.15062),
        draggable: true,
        //icon: marker0000,
        icon: new google.maps.MarkerImage("/static/img/map/markers/1/sprite3.png",    
        new google.maps.Size(40*scaleFactor, 24*scaleFactor), // desired size
        new google.maps.Point(41, offset*scaleFactor), // offset within the scaled sprite
        new google.maps.Point(20*scaleFactor, 12*scaleFactor), // anchor point is half of the desired size
        new google.maps.Size(123*scaleFactor, 52*scaleFactor)), // scaled size of the entire sprite
        map: map
    });
4

1 に答える 1

0

スプライトスケーリングに関する未解決の問題レポート(#4359)があります。2012年8月19日の最初の報告以降、誰も活動していません。発生している問題である場合は、その問題に「スター」を付けることができます。

于 2013-02-22T00:10:24.003 に答える