GoogleMaps Framework Reference

  • GMSPanoramaLink objects represent connections between panoramas, allowing navigation to neighboring views.

  • The heading property indicates the direction of the neighboring panorama in degrees clockwise from north.

  • The panoramaID property, which is subject to change, identifies the neighboring panorama.

GMSPanoramaLink

@interface GMSPanoramaLink : NSObject

Links from a GMSPanorama to neighboring panoramas.

  • Angle of the neighboring panorama, clockwise from north in degrees.

    Declaration

    Swift

    var heading: CGFloat { get set }

    Objective-C

    @property (nonatomic) CGFloat heading;
  • Panorama ID for the neighboring panorama. Do not store this persistenly, it changes in time.

    Declaration

    Swift

    var panoramaID: String { get set }

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull panoramaID;