マーカーで画像を使用するとGoogleマップで画像を取得していますが、情報ウィンドウに同じ画像を使用している場合、URLのみが表示されます。
コード:
var content = '<div class="map-content"><h3>' + "Account Name: " + "{!acc.Name} " +
'</h3>' + '<b>' +"Location: " + "{!acc.BillingCity}" + '</b>' + '</br>' +
"Direction : " + '<a href="http://maps.google.com/?daddr=' + "{!acc.BillingCity}" +
'" target="_blank">Get Directions</a>' + "{!$Resource.Image_GoogleMap}" +'</div>';
google.maps.event.addListener(marker, 'mouseover', function() {
infowindow.open(map, this);
infowindow.setContent(content);
});
「{!$Resource.Image_GoogleMap}」を使用して、Google マップの情報ウィンドウに画像を表示する方法。誰でも私を助けることができますか?