NoCode J Works

Innovation in the workplace.

iOSで位置情報を取得してMapを表示する

f:id:BeansWorks:20210907091553p:plain

1.位置情報を格納するフィールドを2つ(「LOC」,「LOC2」)作成しておきます。

f:id:BeansWorks:20190515221759p:plain

2「LOC」フィールドの計算値オプションで「.LocationValues ( 100; 30 )」を設定しておきます。

f:id:BeansWorks:20190515221817p:plain

 

3.「LOC2」フィールドの計算値オプションで「GetValue ( LOC ; 1 )& "," & GetValue ( LOC ; 2 )」を設定します。

f:id:BeansWorks:20190515221842p:plain

4.WebビューアーツールボタンでMap用の表示領域を作成します。

f:id:BeansWorks:20190515221859p:plain

 

5.Webサイトの選択で「Google Map」を選択し、住所の設定で「LOC2」フィールドを指定します。

f:id:BeansWorks:20190515222134p:plain

f:id:BeansWorks:20190515221926p:plain