customCapFromBitmap static method
Implementation
static Cap customCapFromBitmap(
BitmapDescriptor bitmapDescriptor, {
double refWidth = 10,
}) {
if (refWidth < 0.0) {
return roundCap;
}
return Cap._(
<dynamic>[
'customCap',
bitmapDescriptor.toJson(),
refWidth,
],
);
}