-2
我想是讓地圖點擊並鏈接我我想要的地址 ,我現在的代碼是goMap jQuery的如何添加一個click事件映射
<script type="text/javascript">
jQuery(document).ready(function(){
// initiate googlemaps
jQuery("#' . $block_id . '-map").goMap({ address: "' . $address . '",
zoom: 15,
navigationControl: true,
maptype: "ROADMAP",
draggable: false, zoomControl: false, scrollwheel: true, disableDragging: true,
markers: [
{ "address" : "' . $address . '" }
]
});
});
</script>';