Routes Preferred API 目前仅适用于部分客户。如需了解详情,请
与销售人员联系。
  
        
 
       
     
  
  
  
    
  
  
  
    
      PolylineEncoding
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
        
          
            
            
          
          
            
              | 枚举 | 
            
          
          
            
              POLYLINE_ENCODING_UNSPECIFIED | 
              未指定多段线类型偏好设置。默认为 ENCODED_POLYLINE。 | 
            
            
              ENCODED_POLYLINE | 
              用于指定使用多段线编码算法编码的多段线。 | 
            
            
              GEO_JSON_LINESTRING | 
              使用 GeoJSON LineString 格式指定多段线。 | 
            
          
        
      
    
  
  
  
  
 
  
    
    
      
       
    
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-08-31。
  
  
  
    
      [null,null,["最后更新时间 (UTC):2025-08-31。"],[],["The document outlines three types of polyline specifications. `POLYLINE_ENCODING_UNSPECIFIED` implies no preference, defaulting to `ENCODED_POLYLINE`. `ENCODED_POLYLINE` uses the polyline encoding algorithm. `GEO_JSON_LINESTRING` employs the GeoJSON LineString format. These specifications determine the format in which polyline data is returned, offering choices for encoded or GeoJSON representations, with a default if no type is chosen.\n"]]