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  拖曳map到一個screen 的widget tree中 並填入google map apikey  --在地圖上放上marker-- 在addon中放入一個marker填入location eg:"lat,lon"  先放list可以顯示所有database中的marker  --改變地圖的中心位置-- 建立一個區域變數mapCenter 在地圖中心填上變數名稱  這樣一來如果有人改變了變數,地圖就會自動更新中心位置 --獲得使用者位置-- 放一個按鈕當onclick時呼叫Getlocation 放置一個marker代表目前位置並修改mapCenter 可以增加的功能 --計算最短路徑-- ? --searchBar-- 放上一個searchBar plugin ...
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up