GoogleMaps Framework Reference

GMSFrameRate

  enum 
 GMSFrameRate 
 : 
 NSUInteger 
 {} 
 

Rendering frame rates for GMSMapView .

  • Use the minimum frame rate to conserve battery usage.

    Declaration

    Swift

      case 
     powerSave 
     = 
     0 
     
    

    Objective-C

      kGMSFrameRatePowerSave 
     
    
  • Use a median frame rate to provide smoother rendering and conserve processing cycles.

    Declaration

    Swift

      case 
     conservative 
     = 
     1 
     
    

    Objective-C

      kGMSFrameRateConservative 
     
    
  • Use the maximum frame rate for a device. For low end devices this will be 30 FPS, for high end devices 60 FPS.

    Declaration

    Swift

      case 
     maximum 
     = 
     2 
     
    

    Objective-C

      kGMSFrameRateMaximum 
     
    
Create a Mobile Website
View Site in Mobile | Classic
Share by: