GeoLocation Picker を開いて位置情報を取得します。
- Location:
タイプ: Geolocation
ユーザーが選択した位置
- Android では、InitialLocation パラメーターの値のみが考慮されます。
Event "Select"
composite
&CarGeolocation = CarGeolocationGet() // データベースまたはセッションから車の位置を取得
If &CarGeolocation.IsEmpty()
&CarGeolocation = Geolocation.GetMyLocation(0,0,false) // 空の場合は現在位置に初期化
endif
&GeolocationPickerParms.InitialLocation = &CarGeolocation
&CarGeolocation = Geolocation.PickLocation( &GeolocationPickerParms)
CarGeolocationSet(&CarGeolocation)
refresh
endcomposite
EndEvent
|