AnnotationLayoutConfig constructor
const
AnnotationLayoutConfig({
- required double annotationWidth,
- required double annotationHeight,
- required double maxVisibleDistance,
- required double paddingOverlap,
- double? yOffsetOverlap,
- double cameraFieldOfView = defaultCameraFieldOfView,
- double previewAspectRatio = defaultPreviewAspectRatio,
- bool useAltitude = false,
- double rowHysteresis = 24,
- bool hideWithinLocationAccuracy = false,
- int? maxRows,
- bool scaleWithDistance = false,
- double minScale = defaultMinScale,
- 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,
});