OutSystems Forge 日本語データベース

ClosestMapMarkerCalculator

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

Forge英文サイト

2018-01-02 2.0.0 Cristiano Lúcio All All Components
最も近い場所を計算し、表示する場所の数だけを返すクライアントアクション。
このクライアントアクションは、ロケーションのリストを受け取り、マップに表示されるマーカーの数(NumberMarkers入力変数)に基づいて、ユーザーの現在のロケーションと指定されたすべてのロケーションとの間の距離を計算します。 最も近い場所(KM単位)のリストを返します。 例:20のロケーションのリストがあり、5を表示するだけの場合、このクライアントアクションは最も近い5つのロケーションを返します。

[Overview]
Client Action that calculates the closest locations and returns only the number of locations that you want to show.
[Detail]
This Client Action receives a list of locations and, based on the amount of markers that are going to be shown in the map (NumberMarkers input variable), it will calculate the distance between the user's current location and all given locations. It will return a list with the closest locations (in KM). Example: If you have a list of 20 locations and only want to show 5, this Client Action will return the 5 closest locations.
戻る