MerchantLocation
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このクラスまたはオブジェクトの関心のある場所。現在、この位置情報はジオフェンス通知に使用されています。ユーザーがこの緯度/経度の設定した半径内にいて、その場所に滞在すると、通知がトリガーされます。ユーザーがこの半径から外れると、通知は非表示になります。
JSON 表現 |
{
"latitude": number,
"longitude": number
} |
フィールド |
latitude |
number
-90.0 ~+90.0 の範囲(両端を含む)の値で指定される緯度。この範囲外の値は指定できません。
|
longitude |
number
-180.0 ~+180.0 の範囲(両端を含む)で指定される経度。この範囲外の値は指定できません。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# MerchantLocation\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nLocations of interest for this class or object. Currently, this location is used for geofenced notifications. When a user is within a set radius of this lat/long, and dwells there, Google will trigger a notification. When a user exits this radius, the notification will be hidden.\n\n| JSON representation |\n|-----------------------------------------------------|\n| ``` { \"latitude\": number, \"longitude\": number } ``` |\n\n| Fields ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `latitude` | `number` The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. |\n| `longitude` | `number` The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. |"]]