GoogleMaps Framework Reference

GMSIndoorDisplay

  @interface 
 GMSIndoorDisplay 
 : 
 NSObject 
 

Provides ability to observe or control the display of indoor level data.

Like GMSMapView , GMSIndoorDisplay may only be used from the main thread.

  • GMSIndoorDisplay delegate

    Declaration

    Swift

      weak 
     var 
     delegate 
     : 
     ( 
     any 
      GMSIndoorDisplayDelegate 
     
     )? 
     { 
     get 
     set 
     } 
     
    

    Objective-C

      @property 
     ( 
     nonatomic 
     , 
     weak 
     , 
     nullable 
     ) 
     id 
     < 
      GMSIndoorDisplayDelegate 
     
     > 
     delegate 
     ; 
     
    
  • Provides the currently focused building, will be nil if there is no building with indoor data currently under focus.

    Declaration

    Swift

      var 
     activeBuilding 
     : 
      GMSIndoorBuilding 
     
     ? 
     { 
     get 
     } 
     
    

    Objective-C

      @property 
     ( 
     nonatomic 
     , 
     readonly 
     , 
     nullable 
     ) 
      GMSIndoorBuilding 
     
     * 
     activeBuilding 
     ; 
     
    
  • Provides and controls the active level for activeBuilding. Will be updated whenever activeBuilding changes, and may be set to any member of activeBuilding’s levels property. May also be set to nil if the building is underground, to stop showing the building (the building will remain active).

    Will always be nil if activeBuilding is nil.

    Any attempt to set it to an invalid value will be ignored.

    Declaration

    Swift

      var 
     activeLevel 
     : 
      GMSIndoorLevel 
     
     ? 
     { 
     get 
     set 
     } 
     
    

    Objective-C

      @property 
     ( 
     nonatomic 
     , 
     nullable 
     ) 
      GMSIndoorLevel 
     
     * 
     activeLevel 
     ; 
     
    
Create a Mobile Website
View Site in Mobile | Classic
Share by: