MarkerProperties constructor

const MarkerProperties({
  1. Map<LayerMarkerIndexes, String>? layerProperties,
  2. Key? key,
  3. double width = 30.0,
  4. double height = 30.0,
  5. bool? rotate,
  6. Alignment? rotateAlignment,
})

Creates a MarkerProperties object with the specified properties.

The width and height parameters specify the dimensions of the marker. The anchorPos parameter allows you to set the anchor position within the marker's bounding box.

The rotate parameter determines whether the marker should rotate. The rotateOrigin parameter specifies the rotation origin, and the rotateAlignment parameter sets the alignment for the rotation.

The layerProperties parameter allows you to define layer-specific properties for the marker.

Implementation

const MarkerProperties({
  this.layerProperties,
  this.key,
  this.width = 30.0,
  this.height = 30.0,
  this.rotate,
  this.rotateAlignment,
});