一、首先下載 plugin
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1147/Itemid,35/
二、由於模組相容性,要將你的 joomla 改為 Legacy Mode ,到後台安裝 plugin 那邊找 System - Legacy 直接安裝。
三、安裝 Plugin Googlemaps ,透過下載的壓縮檔案即可。
四、到 google map 申請一組網站用的 api key,到這裡http://code.google.com/apis/maps/signup.html
五、將 key 填到 Plugin Googlemaps 後台參數設定中,順便把一些參數設好。
至此算 Plugin Googlemaps 安裝完成,再來就是在文章中秀出地圖的方法囉…
一、新建文章
二、加入 map 標籤,如下範例…(最好使用純html方式編輯)
{mosmap width='500'height='400'lat='23.008558'lon='120.182888'zoom='12'zoomType='Large'zoomNew='0'mapType='Normal 'showMaptype='0'overview='0'text='這是哪裡'tooltip='文字說明'marker='1'align='center'}
其中最重要的位置座標就是 lat 、lon 兩個參數~(到 google maps 找到你的點,再透過連結輸出的功能可以看的到 ll=xxxxx 的值就是了 ) ,或者到 http://koti.mbnet.fi/ojalesa/tutor/design.html 這裡來查座標。
其它的參數可以自行參考的的說明文件。
三、完成。
效果如下…

沒有留言:
張貼留言