---
title: fillOpacity
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/style/fillopacity
---

# fillOpacity

The opacity of the fill color.

## Declaration

```data
get fillOpacity(): number;
set fillOpacity(fillOpacity: number);
```

## Mentioned in

Adding interactivity to overlays

## Discussion

Discussion The value of this property can be in the range of 0 (fully transparent) to 1 (fully opaque). The default fill opacity is 0.1.

## See Also

### Styling fills

- [fillColor](mapkitjs/style/fillcolor.md)
- [fillRule](mapkitjs/style/fillrule.md)
