PlacemarkIconStyle constructor

const PlacemarkIconStyle({
  1. required BitmapDescriptor image,
  2. Offset anchor = const Offset(0.5, 0.5),
  3. RotationType rotationType = RotationType.noRotation,
  4. double zIndex = 0,
  5. bool isFlat = false,
  6. bool isVisible = true,
  7. double scale = 1,
  8. MapRect? tappableArea,
})

Creates an icon to be used to represent a PlacemarkMapObject on the map.

Implementation

const PlacemarkIconStyle({
  required this.image,
  this.anchor = const Offset(0.5, 0.5),
  this.rotationType = RotationType.noRotation,
  this.zIndex = 0,
  this.isFlat = false,
  this.isVisible = true,
  this.scale = 1,
  this.tappableArea
});