<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>

<script language="Javascript">        

        $(function(){

                // 以該點為中心顯示地圖

                var map_div = document.getElementById("map_div");

                // 取得目前定位點

                var lat=25.142915;

                var lng=121.802502;

            var latlng = new google.maps.LatLng(lat,lng);

                var gmap = new google.maps.Map(map_div, {

                        zoom:14,

                        center: latlng,

                        mapTypeId: google.maps.MapTypeId.ROADMAP

                });

        });

</script>

(複製到</head>上方)