<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/StyleConstructorOptions/fillOpacity",
  "metadataVersion" : "0.1.0",
  "role" : "Interface Property",
  "symbol" : {
    "kind" : "Interface Property",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "structp/mapkit.StyleConstructorOptions/fillOpacity"
  },
  "title" : "fillOpacity"
}
-->

# fillOpacity

The opacity of the fill color.

```
fillOpacity?: number;
```

## 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`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)