map --前置步驟-- 安裝outsystems Maps https://www.outsystems.com/forge/component-overview/9909/outsystems-maps 安裝location plugin https://www.outsystems.com/forge/component-overview/1395/location-plugin 匯入outsystems Maps 匯入 location plugin中的Getlocation funtion ![](https://i.imgur.com/7l6Zgyd.png) 拖曳map到一個screen 的widget tree中 並填入google map apikey ![](https://i.imgur.com/IejitFC.png) --在地圖上放上marker-- 在addon中放入一個marker填入location eg:"lat,lon" ![](https://i.imgur.com/NwRXyCC.png) 先放list可以顯示所有database中的marker ![](https://i.imgur.com/qgmujyf.png) --改變地圖的中心位置-- 建立一個區域變數mapCenter 在地圖中心填上變數名稱 ![](https://i.imgur.com/VLTX0PY.png) 這樣一來如果有人改變了變數,地圖就會自動更新中心位置 --獲得使用者位置-- 放一個按鈕當onclick時呼叫Getlocation 放置一個marker代表目前位置並修改mapCenter 可以增加的功能 --計算最短路徑-- ? --searchBar-- 放上一個searchBar plugin ...