OutSystems Forge 日本語データベース

Location Plugin

サポート
※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2016-12-15 2.0.3 Outsystems R&D 10.0.105.0 All All Plug-ins
アプリケーションがユーザデバイスのGPS機能にアクセスできるようにするプラグイン。 例えば、ユーザ装置の緯度、経度および高度を取得できます。
アプリケーションがユーザデバイスのGPS機能にアクセスできるようにするプラグイン。 例えば、ユーザ装置の緯度、経度および高度を取得できます。 このプラグインの使い方は? 現在の位置の取得は、GetLocationアクションを使用して単一の動作として行うことができます。 すべてがエラーなしで実行されると、Locationが返されます。 また、位置を追跡することも可能です。そのためには、WatchPositionとLocationTrackerの組み合わせを使用する必要があります。 WatchPositionを使用してウォッチャーを登録し、WebアプリケーションのどこにでもLocationTrackerを配置して、OnChangedPositionイベントのイベントハンドラを登録します。 画面のリダイレクトが発生し、新しい画面にLocationTrackerが含まれていない場合、OnChangedPositionイベントはトリガーされません。 ライセンス Apache Cordovaのロケーションプラグイン Apache License 2.0 Copyright 2012 The Apache Software Foundation

[Overview]
Plugin that enables an application to access the GPS capabilities of the users device. For example the latitude, longitude and the altitude of the users device.
[Detail]
Plugin that enables an application to access the GPS capabilities of the users device. For example the latitude, longitude and the altitude of the users device. How to use this plugin? Retrieving the current position can be done as a single act by using the action GetLocation. If everything runs without errors, the Location is returned. It is also possible to keep track of the position, for that, a combination of WatchPosition and LocationTracker should be used. Use the WatchPosition to register a watcher and place LocationTracker anywhere you the webapp in order to register an event handler for OnChangedPosition event. Remember that, if a screen redirect happens and the new screen doesn’t contain LocationTracker, no OnChangedPosition event will be triggered. Licensing Location plugin for Apache Cordova Apache License 2.0 Copyright 2012 The Apache Software Foundation
戻る