FitBounds

public enum FitBounds : Encodable

Determines if this subplot’s view settings are auto-computed to fit trace data.

On scoped maps, setting fitbounds leads to center.lon and center.lat getting auto-filled. On maps with a non-clipped projection, setting fitbounds leads to center.lon, center.lat, and projection.rotation.lon getting auto-filled. On maps with a clipped projection, setting fitbounds leads to center.lon, center.lat, projection.rotation.lon, projection.rotation.lat, lonaxis.range and lonaxis.range getting auto-filled. If locations, only the trace’s visible locations are considered in the fitbounds computations. If geojson, the entire trace input geojson (if provided) is considered in the fitbounds computations, Defaults to false.

  • off

    Undocumented

    Declaration

    Swift

    case off
  • Undocumented

    Declaration

    Swift

    case locations
  • Undocumented

    Declaration

    Swift

    case geoJson
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws