AnnotationLayoutConfig constructor

const AnnotationLayoutConfig({
  1. required double annotationWidth,
  2. required double annotationHeight,
  3. required double maxVisibleDistance,
  4. required double paddingOverlap,
  5. double? yOffsetOverlap,
  6. double cameraFieldOfView = defaultCameraFieldOfView,
  7. double previewAspectRatio = defaultPreviewAspectRatio,
  8. bool useAltitude = false,
  9. double rowHysteresis = 24,
  10. bool hideWithinLocationAccuracy = false,
  11. int? maxRows,
  12. bool scaleWithDistance = false,
  13. double minScale = defaultMinScale,
  14. double horizontalSpacing = 4,
})

Implementation

const AnnotationLayoutConfig({
  required this.annotationWidth,
  required this.annotationHeight,
  required this.maxVisibleDistance,
  required this.paddingOverlap,
  this.yOffsetOverlap,
  this.cameraFieldOfView = defaultCameraFieldOfView,
  this.previewAspectRatio = defaultPreviewAspectRatio,
  this.useAltitude = false,
  this.rowHysteresis = 24,
  this.hideWithinLocationAccuracy = false,
  this.maxRows,
  this.scaleWithDistance = false,
  this.minScale = defaultMinScale,
  this.horizontalSpacing = 4,
});