MyLocationStyle constructor
MyLocationStyle({
- String? myLocationIcon,
- double? anchorU = 0.5,
- double? anchorV = 0.5,
- Color? radiusFillColor = const Color(0xff0000dc),
- Color? strokeColor = const Color(0x640000b4),
- double? strokeWidth = 1,
- int? myLocationType = LOCATION_TYPE_LOCATION_ROTATE,
- int? interval = 2000,
- bool? showMyLocation = true,
- bool? showsAccuracyRing = true,
- bool? showsHeadingIndicator = false,
- Color? locationDotBgColor = Colors.white,
- Color? locationDotFillColor = Colors.blue,
- bool? enablePulseAnnimation = true,
- String? image,
Implementation
MyLocationStyle({
this.myLocationIcon,
this.anchorU = 0.5,
this.anchorV = 0.5,
this.radiusFillColor = const Color(0xff0000dc),
this.strokeColor = const Color(0x640000b4),
this.strokeWidth = 1,
this.myLocationType = LOCATION_TYPE_LOCATION_ROTATE,
this.interval = 2000,
this.showMyLocation = true,
this.showsAccuracyRing = true,
this.showsHeadingIndicator = false,
this.locationDotBgColor = Colors.white,
this.locationDotFillColor = Colors.blue,
this.enablePulseAnnimation = true,
this.image,
});