---
title: "GeoJSON File Additional Properties"
canonical: "https://networkconnect.docs.rubiconwater.com/space/NC/2583560193/GeoJSON%20File%20Additional%20Properties"
format: markdown
---
> Macro (toc)

The standard [GeoJSON specification](https://geojson.org/) does not allow users to define the appearance of features, so Rubicon has included a proprietary `style` property as shown below:

```
{
  "type": "FeatureCollection",
  "name": "Artificial Lake",
  "features": [
    {
      "type": "Feature",
      "properties": { 
            "Name": "Artificial Lake",
            "style": {
                "strokeColor": "#2359b0",
                "strokeOpacity": 1,
                "strokeWeight": 1,
                "fillColor": "#2359b0",
                "fillOpacity": 0.5,
                "zIndex": 10
              }
        },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [68.356609306707099, 43.280775107868898],
            [68.381168253932799, 43.272176408830198],
            [68.3828244449127, 43.274234160093101],
            [68.358074173980796, 43.2829575114161],
            [68.356609306707099, 43.280775107868898]
          ]
        ]
      }
    }
  ]
}
```

You can use the following custom style properties:

| **Property** | **Description** | **Default** |
| --- | --- | --- |
| strokeColor | Specify the stroke color for lines (using standard html colour nomenclatures). | #0077b7 |
| strokeOpacity | Specify the stroke opacity of a line.<br>- 0 - is minimum opacity (fully transparent)
- 1 - is maximum opacity (not transparent) | 1 |
| strokeWeight | Specify the stroke weight for lines. | 3 |
| fillColor | Specify the fill color for closed shapes (using standard html colour nomenclatures). | #0077b7 |
| fillOpacity | Specify the fill opacity when you have applied a fill color to closed shape.<br>- 0 - is minimum opacity (fully transparent)
- 1 - is maximum opacity (not transparent) | 0.6 |
| zIndex | By default, features are rendered in the order that they appear in the geoJSON file. Use the zIndex to specify the rendering order. Features with a higher zIndex will appear above objects with a lower zIndex. | 0 |