GoogleMaps Framework Reference
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
      
        
          
            GMSLengthKind
              
                
                  enum GMSLengthKind : NSUInteger {}
                 
               
            GMSLengthKind indicates the type of a length value, which can be geodesic (in meters), rhumb
length (in meters) and projected length (in GMSMapPoint units).
          
          
            
              
                - 
                  
                  
                    
                    
                      
                      
                        
                       
                        Declaration
                          Objective-C kGMSLengthGeodesic
 
 
 
 
- 
                  
                  
                    
                    
                      
                      
                        
                       
                        Declaration
                          Objective-C kGMSLengthRhumb
 
 
 
 
- 
                  
                  
                    
                    
                      
                      
                        
                       
                        Declaration
                          Objective-C kGMSLengthProjected
 
 
 
 
           
        
      
     
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-08-27 UTC.
  
  
  
    
      [null,null,["Last updated 2025-08-27 UTC."],[],["`GMSLengthKind` defines the type of a length value. It includes three options: `geodesic` (meters), representing the shortest distance between two points on the Earth's surface; `rhumb` (meters), indicating a length measured along a constant bearing; and `projected`, representing length in `GMSMapPoint` units. The enum uses `NSUInteger` for its values. Geodesic is represented by 0, Rhumb by 1 and Projected by 2.\n"]]