Location
    
    
      
    
    
      
      コレクションでコンテンツを整理
    
    
      
      必要に応じて、コンテンツの保存と分類を行います。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
        場所(地理的位置、および省略可能な方角)をカプセル化します。
      
      
        
          
            
              | JSON 表現 | 
            
          
          
            
              {
  "latLng": {
    object (LatLng)
  },
  "heading": integer
} | 
            
          
        
      
      
        
          
            
            
          
          
            
              | フィールド | 
            
          
          
            
              latLng | 
              
                 object (LatLng) 
                地点の地理的座標。 
               | 
            
            
              heading | 
              
                 integer 
                交通の流れの方向に関連付けられたコンパス方位。この値は、乗車場所と降車場所のどちら側かを指定します。見出しの値は 0 から 360 までで、0 は真北の見出し、90 は真東の見出しを指定するというように続きます。このフィールドは、DRIVE と TWO_WHEELER RouteTravelMode に対してのみ使用できます。 
               | 
            
          
        
      
    
  
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
  最終更新日 2025-08-31 UTC。
  
  
  
    
      [null,null,["最終更新日 2025-08-31 UTC。"],[],["The provided JSON structure defines a location using latitude and longitude coordinates (`latLng`). It also includes an optional `heading` field, an integer from 0 to 360, representing the compass direction of traffic flow. The `heading` is applicable only for `DRIVE` and `TWO_WHEELER` travel modes and is intended for specifying the road side for pickup or drop-off actions. The `latLng` field itself is a geographic point.\n"]]