GoogleMaps3D Framework Reference

Enumerations

The following enumerations are available globally.

  • Declaration

    Swift

    enum AltitudeMode
    extension AltitudeMode : Equatable, Hashable
  • Represents various constraints that can be applied to the camera’s position or orientation.

    Use these cases to define limits on camera properties like altitude, heading, tilt, or geographical bounds, often used to guide user interaction or enforce specific viewing perspectives within a map or scene view.

    Declaration

    Swift

    enum CameraRestriction
  • Declaration

    Swift

    enum CollisionBehavior
    extension CollisionBehavior : Equatable, Hashable
  • Orientation of map controls.

    Declaration

    Swift

    enum MapControlOrientation
    extension MapControlOrientation : Equatable, Hashable, Sendable, SendableMetatype
  • Positions for map controls.

    Use MapControlPosition to specify the location of controls added through the mapControls Map view modifier.

    Map(mode: .hybrid)
      .mapControls(at: .top) {
        CompassControl()
      }
    

    Declaration

    Swift

    enum MapControlPosition
    extension MapControlPosition : Equatable, Hashable, Sendable, SendableMetatype
  • The different map modes that can be set when initializing a Map.

    Declaration

    Swift

    enum MapMode
    extension MapMode : Copyable, Equatable, Escapable, Hashable
  • Declaration

    Swift

    enum PathEncodingDimensions
    extension PathEncodingDimensions : Copyable, Equatable, Escapable, Hashable, RawRepresentable
  • Specify SDK behavior when a place tap event is received.

    Declaration

    Swift

    enum PlaceTapAction
    extension PlaceTapAction : Copyable, Equatable, Escapable, Hashable