Location
    
    
      
    
    
      
      透過集合功能整理內容
    
    
      
      你可以依據偏好儲存及分類內容。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        
          
            
              | JSON 表示法 | 
          
          
            
              | {
  "latLng": {
    object (LatLng)
  },
  "heading": integer
} | 
          
        
      
      
        
          
            
            
          
          
            
              | 欄位 | 
          
          
            
              | latLng | object (LatLng)
 路線控點的地理座標。 | 
            
              | heading | integer
 與車流方向相關聯的指南針方向。這個值可指定上車和下車地點的道路側。標題值可以介於 0 到 360 之間,其中 0 指定朝向北方的方向,90 則指定往東的方向角,依此類推。這個欄位僅適用於 DRIVE和TWO_WHEELER。RouteTravelMode | 
          
        
      
    
  
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
  上次更新時間:2025-08-31 (世界標準時間)。
  
  
  
    
      [null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[],["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"]]