# GeospatialLayerDefinitionProperty

The definition properties for a geospatial layer.

- Source: Generated at build time
- Type last changed: v2.174.0 · 4 Jan 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const geospatialLayerDefinitionProperty: quicksight.CfnAnalysis.GeospatialLayerDefinitionProperty = {
  lineLayer: {
    style: {
      lineSymbolStyle: {
        fillColor: {
          categorical: {
            categoryDataColors: [{
              color: 'color',
              dataValue: 'dataValue',
            }],

            // the properties below are optional
            defaultOpacity: 123,
            nullDataSettings: {
              symbolStyle: {
                fillColor: 'fillColor',
                strokeColor: 'strokeColor',
                strokeWidth: 123,
              },
            },
            nullDataVisibility: 'nullDataVisibility',
          },
          gradient: {
            stepColors: [{
              color: 'color',
              dataValue: 123,
            }],

            // the properties below are optional
            defaultOpacity: 123,
            nullDataSettings: {
              symbolStyle: {
                fillColor: 'fillColor',
                strokeColor: 'strokeColor',
                strokeWidth: 123,
              },
            },
            nullDataVisibility: 'nullDataVisibility',
          },
          solid: {
            color: 'color',

            // the properties below are optional
            state: 'state',
          },
        },
        lineWidth: {
          lineWidth: 123,
        },
      },
    },
  },
  pointLayer: {
    style: {
      circleSymbolStyle: {
        circleRadius: {
          radius: 123,
        },
        fillColor: {
          categorical: {
            categoryDataColors: [{
              color: 'color',
              dataValue: 'dataValue',
            }],

            // the properties below are optional
            defaultOpacity: 123,
            nullDataSettings: {
              symbolStyle: {
                fillColor: 'fillColor',
                strokeColor: 'strokeColor',
                strokeWidth: 123,
              },
            },
            nullDataVisibility: 'nullDataVisibility',
          },
          gradient: {
            stepColors: [{
              color: 'color',
              dataValue: 123,
            }],

            // the properties below are optional
            defaultOpacity: 123,
            nullDataSettings: {
              symbolStyle: {
                fillColor: 'fillColor',
                strokeColor: 'strokeColor',
                strokeWidth: 123,
              },
            },
            nullDataVisibility: 'nullDataVisibility',
          },
          solid: {
            color: 'color',

            // the properties below are optional
            state: 'state',
          },
        },
        strokeColor: {
          categorical: {
            categoryDataColors: [{
              color: 'color',
              dataValue: 'dataValue',
            }],

            // the properties below are optional
            defaultOpacity: 123,
            nullDataSettings: {
              symbolStyle: {
                fillColor: 'fillColor',
                strokeColor: 'strokeColor',
                strokeWidth: 123,
              },
            },
            nullDataVisibility: 'nullDataVisibility',
          },
          gradient: {
            stepColors: [{
              color: 'color',
              dataValue: 123,
            }],

            // the properties below are optional
            defaultOpacity: 123,
            nullDataSettings: {
              symbolStyle: {
                fillColor: 'fillColor',
                strokeColor: 'strokeColor',
                strokeWidth: 123,
              },
            },
            nullDataVisibility: 'nullDataVisibility',
          },
          solid: {
            color: 'color',

            // the properties below are optional
            state: 'state',
          },
        },
        strokeWidth: {
          lineWidth: 123,
        },
      },
    },
  },
  polygonLayer: {
    style: {
      polygonSymbolStyle: {
        fillColor: {
          categorical: {
            categoryDataColors: [{
              color: 'color',
              dataValue: 'dataValue',
            }],

            // the properties below are optional
            defaultOpacity: 123,
            nullDataSettings: {
              symbolStyle: {
                fillColor: 'fillColor',
                strokeColor: 'strokeColor',
                strokeWidth: 123,
              },
            },
            nullDataVisibility: 'nullDataVisibility',
          },
          gradient: {
            stepColors: [{
              color: 'color',
              dataValue: 123,
            }],

            // the properties below are optional
            defaultOpacity: 123,
            nullDataSettings: {
              symbolStyle: {
                fillColor: 'fillColor',
                strokeColor: 'strokeColor',
                strokeWidth: 123,
              },
            },
            nullDataVisibility: 'nullDataVisibility',
          },
          solid: {
            color: 'color',

            // the properties below are optional
            state: 'state',
          },
        },
        strokeColor: {
          categorical: {
            categoryDataColors: [{
              color: 'color',
              dataValue: 'dataValue',
            }],

            // the properties below are optional
            defaultOpacity: 123,
            nullDataSettings: {
              symbolStyle: {
                fillColor: 'fillColor',
                strokeColor: 'strokeColor',
                strokeWidth: 123,
              },
            },
            nullDataVisibility: 'nullDataVisibility',
          },
          gradient: {
            stepColors: [{
              color: 'color',
              dataValue: 123,
            }],

            // the properties below are optional
            defaultOpacity: 123,
            nullDataSettings: {
              symbolStyle: {
                fillColor: 'fillColor',
                strokeColor: 'strokeColor',
                strokeWidth: 123,
              },
            },
            nullDataVisibility: 'nullDataVisibility',
          },
          solid: {
            color: 'color',

            // the properties below are optional
            state: 'state',
          },
        },
        strokeWidth: {
          lineWidth: 123,
        },
      },
    },
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight

geospatial_layer_definition_property = quicksight.CfnAnalysis.GeospatialLayerDefinitionProperty(
    line_layer=quicksight.CfnAnalysis.GeospatialLineLayerProperty(
        style=quicksight.CfnAnalysis.GeospatialLineStyleProperty(
            line_symbol_style=quicksight.CfnAnalysis.GeospatialLineSymbolStyleProperty(
                fill_color=quicksight.CfnAnalysis.GeospatialColorProperty(
                    categorical=quicksight.CfnAnalysis.GeospatialCategoricalColorProperty(
                        category_data_colors=[quicksight.CfnAnalysis.GeospatialCategoricalDataColorProperty(
                            color="color",
                            data_value="dataValue"
                        )],

                        # the properties below are optional
                        default_opacity=123,
                        null_data_settings=quicksight.CfnAnalysis.GeospatialNullDataSettingsProperty(
                            symbol_style=quicksight.CfnAnalysis.GeospatialNullSymbolStyleProperty(
                                fill_color="fillColor",
                                stroke_color="strokeColor",
                                stroke_width=123
                            )
                        ),
                        null_data_visibility="nullDataVisibility"
                    ),
                    gradient=quicksight.CfnAnalysis.GeospatialGradientColorProperty(
                        step_colors=[quicksight.CfnAnalysis.GeospatialGradientStepColorProperty(
                            color="color",
                            data_value=123
                        )],

                        # the properties below are optional
                        default_opacity=123,
                        null_data_settings=quicksight.CfnAnalysis.GeospatialNullDataSettingsProperty(
                            symbol_style=quicksight.CfnAnalysis.GeospatialNullSymbolStyleProperty(
                                fill_color="fillColor",
                                stroke_color="strokeColor",
                                stroke_width=123
                            )
                        ),
                        null_data_visibility="nullDataVisibility"
                    ),
                    solid=quicksight.CfnAnalysis.GeospatialSolidColorProperty(
                        color="color",

                        # the properties below are optional
                        state="state"
                    )
                ),
                line_width=quicksight.CfnAnalysis.GeospatialLineWidthProperty(
                    line_width=123
                )
            )
        )
    ),
    point_layer=quicksight.CfnAnalysis.GeospatialPointLayerProperty(
        style=quicksight.CfnAnalysis.GeospatialPointStyleProperty(
            circle_symbol_style=quicksight.CfnAnalysis.GeospatialCircleSymbolStyleProperty(
                circle_radius=quicksight.CfnAnalysis.GeospatialCircleRadiusProperty(
                    radius=123
                ),
                fill_color=quicksight.CfnAnalysis.GeospatialColorProperty(
                    categorical=quicksight.CfnAnalysis.GeospatialCategoricalColorProperty(
                        category_data_colors=[quicksight.CfnAnalysis.GeospatialCategoricalDataColorProperty(
                            color="color",
                            data_value="dataValue"
                        )],

                        # the properties below are optional
                        default_opacity=123,
                        null_data_settings=quicksight.CfnAnalysis.GeospatialNullDataSettingsProperty(
                            symbol_style=quicksight.CfnAnalysis.GeospatialNullSymbolStyleProperty(
                                fill_color="fillColor",
                                stroke_color="strokeColor",
                                stroke_width=123
                            )
                        ),
                        null_data_visibility="nullDataVisibility"
                    ),
                    gradient=quicksight.CfnAnalysis.GeospatialGradientColorProperty(
                        step_colors=[quicksight.CfnAnalysis.GeospatialGradientStepColorProperty(
                            color="color",
                            data_value=123
                        )],

                        # the properties below are optional
                        default_opacity=123,
                        null_data_settings=quicksight.CfnAnalysis.GeospatialNullDataSettingsProperty(
                            symbol_style=quicksight.CfnAnalysis.GeospatialNullSymbolStyleProperty(
                                fill_color="fillColor",
                                stroke_color="strokeColor",
                                stroke_width=123
                            )
                        ),
                        null_data_visibility="nullDataVisibility"
                    ),
                    solid=quicksight.CfnAnalysis.GeospatialSolidColorProperty(
                        color="color",

                        # the properties below are optional
                        state="state"
                    )
                ),
                stroke_color=quicksight.CfnAnalysis.GeospatialColorProperty(
                    categorical=quicksight.CfnAnalysis.GeospatialCategoricalColorProperty(
                        category_data_colors=[quicksight.CfnAnalysis.GeospatialCategoricalDataColorProperty(
                            color="color",
                            data_value="dataValue"
                        )],

                        # the properties below are optional
                        default_opacity=123,
                        null_data_settings=quicksight.CfnAnalysis.GeospatialNullDataSettingsProperty(
                            symbol_style=quicksight.CfnAnalysis.GeospatialNullSymbolStyleProperty(
                                fill_color="fillColor",
                                stroke_color="strokeColor",
                                stroke_width=123
                            )
                        ),
                        null_data_visibility="nullDataVisibility"
                    ),
                    gradient=quicksight.CfnAnalysis.GeospatialGradientColorProperty(
                        step_colors=[quicksight.CfnAnalysis.GeospatialGradientStepColorProperty(
                            color="color",
                            data_value=123
                        )],

                        # the properties below are optional
                        default_opacity=123,
                        null_data_settings=quicksight.CfnAnalysis.GeospatialNullDataSettingsProperty(
                            symbol_style=quicksight.CfnAnalysis.GeospatialNullSymbolStyleProperty(
                                fill_color="fillColor",
                                stroke_color="strokeColor",
                                stroke_width=123
                            )
                        ),
                        null_data_visibility="nullDataVisibility"
                    ),
                    solid=quicksight.CfnAnalysis.GeospatialSolidColorProperty(
                        color="color",

                        # the properties below are optional
                        state="state"
                    )
                ),
                stroke_width=quicksight.CfnAnalysis.GeospatialLineWidthProperty(
                    line_width=123
                )
            )
        )
    ),
    polygon_layer=quicksight.CfnAnalysis.GeospatialPolygonLayerProperty(
        style=quicksight.CfnAnalysis.GeospatialPolygonStyleProperty(
            polygon_symbol_style=quicksight.CfnAnalysis.GeospatialPolygonSymbolStyleProperty(
                fill_color=quicksight.CfnAnalysis.GeospatialColorProperty(
                    categorical=quicksight.CfnAnalysis.GeospatialCategoricalColorProperty(
                        category_data_colors=[quicksight.CfnAnalysis.GeospatialCategoricalDataColorProperty(
                            color="color",
                            data_value="dataValue"
                        )],

                        # the properties below are optional
                        default_opacity=123,
                        null_data_settings=quicksight.CfnAnalysis.GeospatialNullDataSettingsProperty(
                            symbol_style=quicksight.CfnAnalysis.GeospatialNullSymbolStyleProperty(
                                fill_color="fillColor",
                                stroke_color="strokeColor",
                                stroke_width=123
                            )
                        ),
                        null_data_visibility="nullDataVisibility"
                    ),
                    gradient=quicksight.CfnAnalysis.GeospatialGradientColorProperty(
                        step_colors=[quicksight.CfnAnalysis.GeospatialGradientStepColorProperty(
                            color="color",
                            data_value=123
                        )],

                        # the properties below are optional
                        default_opacity=123,
                        null_data_settings=quicksight.CfnAnalysis.GeospatialNullDataSettingsProperty(
                            symbol_style=quicksight.CfnAnalysis.GeospatialNullSymbolStyleProperty(
                                fill_color="fillColor",
                                stroke_color="strokeColor",
                                stroke_width=123
                            )
                        ),
                        null_data_visibility="nullDataVisibility"
                    ),
                    solid=quicksight.CfnAnalysis.GeospatialSolidColorProperty(
                        color="color",

                        # the properties below are optional
                        state="state"
                    )
                ),
                stroke_color=quicksight.CfnAnalysis.GeospatialColorProperty(
                    categorical=quicksight.CfnAnalysis.GeospatialCategoricalColorProperty(
                        category_data_colors=[quicksight.CfnAnalysis.GeospatialCategoricalDataColorProperty(
                            color="color",
                            data_value="dataValue"
                        )],

                        # the properties below are optional
                        default_opacity=123,
                        null_data_settings=quicksight.CfnAnalysis.GeospatialNullDataSettingsProperty(
                            symbol_style=quicksight.CfnAnalysis.GeospatialNullSymbolStyleProperty(
                                fill_color="fillColor",
                                stroke_color="strokeColor",
                                stroke_width=123
                            )
                        ),
                        null_data_visibility="nullDataVisibility"
                    ),
                    gradient=quicksight.CfnAnalysis.GeospatialGradientColorProperty(
                        step_colors=[quicksight.CfnAnalysis.GeospatialGradientStepColorProperty(
                            color="color",
                            data_value=123
                        )],

                        # the properties below are optional
                        default_opacity=123,
                        null_data_settings=quicksight.CfnAnalysis.GeospatialNullDataSettingsProperty(
                            symbol_style=quicksight.CfnAnalysis.GeospatialNullSymbolStyleProperty(
                                fill_color="fillColor",
                                stroke_color="strokeColor",
                                stroke_width=123
                            )
                        ),
                        null_data_visibility="nullDataVisibility"
                    ),
                    solid=quicksight.CfnAnalysis.GeospatialSolidColorProperty(
                        color="color",

                        # the properties below are optional
                        state="state"
                    )
                ),
                stroke_width=quicksight.CfnAnalysis.GeospatialLineWidthProperty(
                    line_width=123
                )
            )
        )
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;

GeospatialLayerDefinitionProperty geospatialLayerDefinitionProperty = GeospatialLayerDefinitionProperty.builder()
        .lineLayer(GeospatialLineLayerProperty.builder()
                .style(GeospatialLineStyleProperty.builder()
                        .lineSymbolStyle(GeospatialLineSymbolStyleProperty.builder()
                                .fillColor(GeospatialColorProperty.builder()
                                        .categorical(GeospatialCategoricalColorProperty.builder()
                                                .categoryDataColors(List.of(GeospatialCategoricalDataColorProperty.builder()
                                                        .color("color")
                                                        .dataValue("dataValue")
                                                        .build()))

                                                // the properties below are optional
                                                .defaultOpacity(123)
                                                .nullDataSettings(GeospatialNullDataSettingsProperty.builder()
                                                        .symbolStyle(GeospatialNullSymbolStyleProperty.builder()
                                                                .fillColor("fillColor")
                                                                .strokeColor("strokeColor")
                                                                .strokeWidth(123)
                                                                .build())
                                                        .build())
                                                .nullDataVisibility("nullDataVisibility")
                                                .build())
                                        .gradient(GeospatialGradientColorProperty.builder()
                                                .stepColors(List.of(GeospatialGradientStepColorProperty.builder()
                                                        .color("color")
                                                        .dataValue(123)
                                                        .build()))

                                                // the properties below are optional
                                                .defaultOpacity(123)
                                                .nullDataSettings(GeospatialNullDataSettingsProperty.builder()
                                                        .symbolStyle(GeospatialNullSymbolStyleProperty.builder()
                                                                .fillColor("fillColor")
                                                                .strokeColor("strokeColor")
                                                                .strokeWidth(123)
                                                                .build())
                                                        .build())
                                                .nullDataVisibility("nullDataVisibility")
                                                .build())
                                        .solid(GeospatialSolidColorProperty.builder()
                                                .color("color")

                                                // the properties below are optional
                                                .state("state")
                                                .build())
                                        .build())
                                .lineWidth(GeospatialLineWidthProperty.builder()
                                        .lineWidth(123)
                                        .build())
                                .build())
                        .build())
                .build())
        .pointLayer(GeospatialPointLayerProperty.builder()
                .style(GeospatialPointStyleProperty.builder()
                        .circleSymbolStyle(GeospatialCircleSymbolStyleProperty.builder()
                                .circleRadius(GeospatialCircleRadiusProperty.builder()
                                        .radius(123)
                                        .build())
                                .fillColor(GeospatialColorProperty.builder()
                                        .categorical(GeospatialCategoricalColorProperty.builder()
                                                .categoryDataColors(List.of(GeospatialCategoricalDataColorProperty.builder()
                                                        .color("color")
                                                        .dataValue("dataValue")
                                                        .build()))

                                                // the properties below are optional
                                                .defaultOpacity(123)
                                                .nullDataSettings(GeospatialNullDataSettingsProperty.builder()
                                                        .symbolStyle(GeospatialNullSymbolStyleProperty.builder()
                                                                .fillColor("fillColor")
                                                                .strokeColor("strokeColor")
                                                                .strokeWidth(123)
                                                                .build())
                                                        .build())
                                                .nullDataVisibility("nullDataVisibility")
                                                .build())
                                        .gradient(GeospatialGradientColorProperty.builder()
                                                .stepColors(List.of(GeospatialGradientStepColorProperty.builder()
                                                        .color("color")
                                                        .dataValue(123)
                                                        .build()))

                                                // the properties below are optional
                                                .defaultOpacity(123)
                                                .nullDataSettings(GeospatialNullDataSettingsProperty.builder()
                                                        .symbolStyle(GeospatialNullSymbolStyleProperty.builder()
                                                                .fillColor("fillColor")
                                                                .strokeColor("strokeColor")
                                                                .strokeWidth(123)
                                                                .build())
                                                        .build())
                                                .nullDataVisibility("nullDataVisibility")
                                                .build())
                                        .solid(GeospatialSolidColorProperty.builder()
                                                .color("color")

                                                // the properties below are optional
                                                .state("state")
                                                .build())
                                        .build())
                                .strokeColor(GeospatialColorProperty.builder()
                                        .categorical(GeospatialCategoricalColorProperty.builder()
                                                .categoryDataColors(List.of(GeospatialCategoricalDataColorProperty.builder()
                                                        .color("color")
                                                        .dataValue("dataValue")
                                                        .build()))

                                                // the properties below are optional
                                                .defaultOpacity(123)
                                                .nullDataSettings(GeospatialNullDataSettingsProperty.builder()
                                                        .symbolStyle(GeospatialNullSymbolStyleProperty.builder()
                                                                .fillColor("fillColor")
                                                                .strokeColor("strokeColor")
                                                                .strokeWidth(123)
                                                                .build())
                                                        .build())
                                                .nullDataVisibility("nullDataVisibility")
                                                .build())
                                        .gradient(GeospatialGradientColorProperty.builder()
                                                .stepColors(List.of(GeospatialGradientStepColorProperty.builder()
                                                        .color("color")
                                                        .dataValue(123)
                                                        .build()))

                                                // the properties below are optional
                                                .defaultOpacity(123)
                                                .nullDataSettings(GeospatialNullDataSettingsProperty.builder()
                                                        .symbolStyle(GeospatialNullSymbolStyleProperty.builder()
                                                                .fillColor("fillColor")
                                                                .strokeColor("strokeColor")
                                                                .strokeWidth(123)
                                                                .build())
                                                        .build())
                                                .nullDataVisibility("nullDataVisibility")
                                                .build())
                                        .solid(GeospatialSolidColorProperty.builder()
                                                .color("color")

                                                // the properties below are optional
                                                .state("state")
                                                .build())
                                        .build())
                                .strokeWidth(GeospatialLineWidthProperty.builder()
                                        .lineWidth(123)
                                        .build())
                                .build())
                        .build())
                .build())
        .polygonLayer(GeospatialPolygonLayerProperty.builder()
                .style(GeospatialPolygonStyleProperty.builder()
                        .polygonSymbolStyle(GeospatialPolygonSymbolStyleProperty.builder()
                                .fillColor(GeospatialColorProperty.builder()
                                        .categorical(GeospatialCategoricalColorProperty.builder()
                                                .categoryDataColors(List.of(GeospatialCategoricalDataColorProperty.builder()
                                                        .color("color")
                                                        .dataValue("dataValue")
                                                        .build()))

                                                // the properties below are optional
                                                .defaultOpacity(123)
                                                .nullDataSettings(GeospatialNullDataSettingsProperty.builder()
                                                        .symbolStyle(GeospatialNullSymbolStyleProperty.builder()
                                                                .fillColor("fillColor")
                                                                .strokeColor("strokeColor")
                                                                .strokeWidth(123)
                                                                .build())
                                                        .build())
                                                .nullDataVisibility("nullDataVisibility")
                                                .build())
                                        .gradient(GeospatialGradientColorProperty.builder()
                                                .stepColors(List.of(GeospatialGradientStepColorProperty.builder()
                                                        .color("color")
                                                        .dataValue(123)
                                                        .build()))

                                                // the properties below are optional
                                                .defaultOpacity(123)
                                                .nullDataSettings(GeospatialNullDataSettingsProperty.builder()
                                                        .symbolStyle(GeospatialNullSymbolStyleProperty.builder()
                                                                .fillColor("fillColor")
                                                                .strokeColor("strokeColor")
                                                                .strokeWidth(123)
                                                                .build())
                                                        .build())
                                                .nullDataVisibility("nullDataVisibility")
                                                .build())
                                        .solid(GeospatialSolidColorProperty.builder()
                                                .color("color")

                                                // the properties below are optional
                                                .state("state")
                                                .build())
                                        .build())
                                .strokeColor(GeospatialColorProperty.builder()
                                        .categorical(GeospatialCategoricalColorProperty.builder()
                                                .categoryDataColors(List.of(GeospatialCategoricalDataColorProperty.builder()
                                                        .color("color")
                                                        .dataValue("dataValue")
                                                        .build()))

                                                // the properties below are optional
                                                .defaultOpacity(123)
                                                .nullDataSettings(GeospatialNullDataSettingsProperty.builder()
                                                        .symbolStyle(GeospatialNullSymbolStyleProperty.builder()
                                                                .fillColor("fillColor")
                                                                .strokeColor("strokeColor")
                                                                .strokeWidth(123)
                                                                .build())
                                                        .build())
                                                .nullDataVisibility("nullDataVisibility")
                                                .build())
                                        .gradient(GeospatialGradientColorProperty.builder()
                                                .stepColors(List.of(GeospatialGradientStepColorProperty.builder()
                                                        .color("color")
                                                        .dataValue(123)
                                                        .build()))

                                                // the properties below are optional
                                                .defaultOpacity(123)
                                                .nullDataSettings(GeospatialNullDataSettingsProperty.builder()
                                                        .symbolStyle(GeospatialNullSymbolStyleProperty.builder()
                                                                .fillColor("fillColor")
                                                                .strokeColor("strokeColor")
                                                                .strokeWidth(123)
                                                                .build())
                                                        .build())
                                                .nullDataVisibility("nullDataVisibility")
                                                .build())
                                        .solid(GeospatialSolidColorProperty.builder()
                                                .color("color")

                                                // the properties below are optional
                                                .state("state")
                                                .build())
                                        .build())
                                .strokeWidth(GeospatialLineWidthProperty.builder()
                                        .lineWidth(123)
                                        .build())
                                .build())
                        .build())
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;

var geospatialLayerDefinitionProperty = new GeospatialLayerDefinitionProperty {
    LineLayer = new GeospatialLineLayerProperty {
        Style = new GeospatialLineStyleProperty {
            LineSymbolStyle = new GeospatialLineSymbolStyleProperty {
                FillColor = new GeospatialColorProperty {
                    Categorical = new GeospatialCategoricalColorProperty {
                        CategoryDataColors = new [] { new GeospatialCategoricalDataColorProperty {
                            Color = "color",
                            DataValue = "dataValue"
                        } },

                        // the properties below are optional
                        DefaultOpacity = 123,
                        NullDataSettings = new GeospatialNullDataSettingsProperty {
                            SymbolStyle = new GeospatialNullSymbolStyleProperty {
                                FillColor = "fillColor",
                                StrokeColor = "strokeColor",
                                StrokeWidth = 123
                            }
                        },
                        NullDataVisibility = "nullDataVisibility"
                    },
                    Gradient = new GeospatialGradientColorProperty {
                        StepColors = new [] { new GeospatialGradientStepColorProperty {
                            Color = "color",
                            DataValue = 123
                        } },

                        // the properties below are optional
                        DefaultOpacity = 123,
                        NullDataSettings = new GeospatialNullDataSettingsProperty {
                            SymbolStyle = new GeospatialNullSymbolStyleProperty {
                                FillColor = "fillColor",
                                StrokeColor = "strokeColor",
                                StrokeWidth = 123
                            }
                        },
                        NullDataVisibility = "nullDataVisibility"
                    },
                    Solid = new GeospatialSolidColorProperty {
                        Color = "color",

                        // the properties below are optional
                        State = "state"
                    }
                },
                LineWidth = new GeospatialLineWidthProperty {
                    LineWidth = 123
                }
            }
        }
    },
    PointLayer = new GeospatialPointLayerProperty {
        Style = new GeospatialPointStyleProperty {
            CircleSymbolStyle = new GeospatialCircleSymbolStyleProperty {
                CircleRadius = new GeospatialCircleRadiusProperty {
                    Radius = 123
                },
                FillColor = new GeospatialColorProperty {
                    Categorical = new GeospatialCategoricalColorProperty {
                        CategoryDataColors = new [] { new GeospatialCategoricalDataColorProperty {
                            Color = "color",
                            DataValue = "dataValue"
                        } },

                        // the properties below are optional
                        DefaultOpacity = 123,
                        NullDataSettings = new GeospatialNullDataSettingsProperty {
                            SymbolStyle = new GeospatialNullSymbolStyleProperty {
                                FillColor = "fillColor",
                                StrokeColor = "strokeColor",
                                StrokeWidth = 123
                            }
                        },
                        NullDataVisibility = "nullDataVisibility"
                    },
                    Gradient = new GeospatialGradientColorProperty {
                        StepColors = new [] { new GeospatialGradientStepColorProperty {
                            Color = "color",
                            DataValue = 123
                        } },

                        // the properties below are optional
                        DefaultOpacity = 123,
                        NullDataSettings = new GeospatialNullDataSettingsProperty {
                            SymbolStyle = new GeospatialNullSymbolStyleProperty {
                                FillColor = "fillColor",
                                StrokeColor = "strokeColor",
                                StrokeWidth = 123
                            }
                        },
                        NullDataVisibility = "nullDataVisibility"
                    },
                    Solid = new GeospatialSolidColorProperty {
                        Color = "color",

                        // the properties below are optional
                        State = "state"
                    }
                },
                StrokeColor = new GeospatialColorProperty {
                    Categorical = new GeospatialCategoricalColorProperty {
                        CategoryDataColors = new [] { new GeospatialCategoricalDataColorProperty {
                            Color = "color",
                            DataValue = "dataValue"
                        } },

                        // the properties below are optional
                        DefaultOpacity = 123,
                        NullDataSettings = new GeospatialNullDataSettingsProperty {
                            SymbolStyle = new GeospatialNullSymbolStyleProperty {
                                FillColor = "fillColor",
                                StrokeColor = "strokeColor",
                                StrokeWidth = 123
                            }
                        },
                        NullDataVisibility = "nullDataVisibility"
                    },
                    Gradient = new GeospatialGradientColorProperty {
                        StepColors = new [] { new GeospatialGradientStepColorProperty {
                            Color = "color",
                            DataValue = 123
                        } },

                        // the properties below are optional
                        DefaultOpacity = 123,
                        NullDataSettings = new GeospatialNullDataSettingsProperty {
                            SymbolStyle = new GeospatialNullSymbolStyleProperty {
                                FillColor = "fillColor",
                                StrokeColor = "strokeColor",
                                StrokeWidth = 123
                            }
                        },
                        NullDataVisibility = "nullDataVisibility"
                    },
                    Solid = new GeospatialSolidColorProperty {
                        Color = "color",

                        // the properties below are optional
                        State = "state"
                    }
                },
                StrokeWidth = new GeospatialLineWidthProperty {
                    LineWidth = 123
                }
            }
        }
    },
    PolygonLayer = new GeospatialPolygonLayerProperty {
        Style = new GeospatialPolygonStyleProperty {
            PolygonSymbolStyle = new GeospatialPolygonSymbolStyleProperty {
                FillColor = new GeospatialColorProperty {
                    Categorical = new GeospatialCategoricalColorProperty {
                        CategoryDataColors = new [] { new GeospatialCategoricalDataColorProperty {
                            Color = "color",
                            DataValue = "dataValue"
                        } },

                        // the properties below are optional
                        DefaultOpacity = 123,
                        NullDataSettings = new GeospatialNullDataSettingsProperty {
                            SymbolStyle = new GeospatialNullSymbolStyleProperty {
                                FillColor = "fillColor",
                                StrokeColor = "strokeColor",
                                StrokeWidth = 123
                            }
                        },
                        NullDataVisibility = "nullDataVisibility"
                    },
                    Gradient = new GeospatialGradientColorProperty {
                        StepColors = new [] { new GeospatialGradientStepColorProperty {
                            Color = "color",
                            DataValue = 123
                        } },

                        // the properties below are optional
                        DefaultOpacity = 123,
                        NullDataSettings = new GeospatialNullDataSettingsProperty {
                            SymbolStyle = new GeospatialNullSymbolStyleProperty {
                                FillColor = "fillColor",
                                StrokeColor = "strokeColor",
                                StrokeWidth = 123
                            }
                        },
                        NullDataVisibility = "nullDataVisibility"
                    },
                    Solid = new GeospatialSolidColorProperty {
                        Color = "color",

                        // the properties below are optional
                        State = "state"
                    }
                },
                StrokeColor = new GeospatialColorProperty {
                    Categorical = new GeospatialCategoricalColorProperty {
                        CategoryDataColors = new [] { new GeospatialCategoricalDataColorProperty {
                            Color = "color",
                            DataValue = "dataValue"
                        } },

                        // the properties below are optional
                        DefaultOpacity = 123,
                        NullDataSettings = new GeospatialNullDataSettingsProperty {
                            SymbolStyle = new GeospatialNullSymbolStyleProperty {
                                FillColor = "fillColor",
                                StrokeColor = "strokeColor",
                                StrokeWidth = 123
                            }
                        },
                        NullDataVisibility = "nullDataVisibility"
                    },
                    Gradient = new GeospatialGradientColorProperty {
                        StepColors = new [] { new GeospatialGradientStepColorProperty {
                            Color = "color",
                            DataValue = 123
                        } },

                        // the properties below are optional
                        DefaultOpacity = 123,
                        NullDataSettings = new GeospatialNullDataSettingsProperty {
                            SymbolStyle = new GeospatialNullSymbolStyleProperty {
                                FillColor = "fillColor",
                                StrokeColor = "strokeColor",
                                StrokeWidth = 123
                            }
                        },
                        NullDataVisibility = "nullDataVisibility"
                    },
                    Solid = new GeospatialSolidColorProperty {
                        Color = "color",

                        // the properties below are optional
                        State = "state"
                    }
                },
                StrokeWidth = new GeospatialLineWidthProperty {
                    LineWidth = 123
                }
            }
        }
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

geospatialLayerDefinitionProperty := &GeospatialLayerDefinitionProperty{
	LineLayer: &GeospatialLineLayerProperty{
		Style: &GeospatialLineStyleProperty{
			LineSymbolStyle: &GeospatialLineSymbolStyleProperty{
				FillColor: &GeospatialColorProperty{
					Categorical: &GeospatialCategoricalColorProperty{
						CategoryDataColors: []interface{}{
							&GeospatialCategoricalDataColorProperty{
								Color: jsii.String("color"),
								DataValue: jsii.String("dataValue"),
							},
						},

						// the properties below are optional
						DefaultOpacity: jsii.Number(123),
						NullDataSettings: &GeospatialNullDataSettingsProperty{
							SymbolStyle: &GeospatialNullSymbolStyleProperty{
								FillColor: jsii.String("fillColor"),
								StrokeColor: jsii.String("strokeColor"),
								StrokeWidth: jsii.Number(123),
							},
						},
						NullDataVisibility: jsii.String("nullDataVisibility"),
					},
					Gradient: &GeospatialGradientColorProperty{
						StepColors: []interface{}{
							&GeospatialGradientStepColorProperty{
								Color: jsii.String("color"),
								DataValue: jsii.Number(123),
							},
						},

						// the properties below are optional
						DefaultOpacity: jsii.Number(123),
						NullDataSettings: &GeospatialNullDataSettingsProperty{
							SymbolStyle: &GeospatialNullSymbolStyleProperty{
								FillColor: jsii.String("fillColor"),
								StrokeColor: jsii.String("strokeColor"),
								StrokeWidth: jsii.Number(123),
							},
						},
						NullDataVisibility: jsii.String("nullDataVisibility"),
					},
					Solid: &GeospatialSolidColorProperty{
						Color: jsii.String("color"),

						// the properties below are optional
						State: jsii.String("state"),
					},
				},
				LineWidth: &GeospatialLineWidthProperty{
					LineWidth: jsii.Number(123),
				},
			},
		},
	},
	PointLayer: &GeospatialPointLayerProperty{
		Style: &GeospatialPointStyleProperty{
			CircleSymbolStyle: &GeospatialCircleSymbolStyleProperty{
				CircleRadius: &GeospatialCircleRadiusProperty{
					Radius: jsii.Number(123),
				},
				FillColor: &GeospatialColorProperty{
					Categorical: &GeospatialCategoricalColorProperty{
						CategoryDataColors: []interface{}{
							&GeospatialCategoricalDataColorProperty{
								Color: jsii.String("color"),
								DataValue: jsii.String("dataValue"),
							},
						},

						// the properties below are optional
						DefaultOpacity: jsii.Number(123),
						NullDataSettings: &GeospatialNullDataSettingsProperty{
							SymbolStyle: &GeospatialNullSymbolStyleProperty{
								FillColor: jsii.String("fillColor"),
								StrokeColor: jsii.String("strokeColor"),
								StrokeWidth: jsii.Number(123),
							},
						},
						NullDataVisibility: jsii.String("nullDataVisibility"),
					},
					Gradient: &GeospatialGradientColorProperty{
						StepColors: []interface{}{
							&GeospatialGradientStepColorProperty{
								Color: jsii.String("color"),
								DataValue: jsii.Number(123),
							},
						},

						// the properties below are optional
						DefaultOpacity: jsii.Number(123),
						NullDataSettings: &GeospatialNullDataSettingsProperty{
							SymbolStyle: &GeospatialNullSymbolStyleProperty{
								FillColor: jsii.String("fillColor"),
								StrokeColor: jsii.String("strokeColor"),
								StrokeWidth: jsii.Number(123),
							},
						},
						NullDataVisibility: jsii.String("nullDataVisibility"),
					},
					Solid: &GeospatialSolidColorProperty{
						Color: jsii.String("color"),

						// the properties below are optional
						State: jsii.String("state"),
					},
				},
				StrokeColor: &GeospatialColorProperty{
					Categorical: &GeospatialCategoricalColorProperty{
						CategoryDataColors: []interface{}{
							&GeospatialCategoricalDataColorProperty{
								Color: jsii.String("color"),
								DataValue: jsii.String("dataValue"),
							},
						},

						// the properties below are optional
						DefaultOpacity: jsii.Number(123),
						NullDataSettings: &GeospatialNullDataSettingsProperty{
							SymbolStyle: &GeospatialNullSymbolStyleProperty{
								FillColor: jsii.String("fillColor"),
								StrokeColor: jsii.String("strokeColor"),
								StrokeWidth: jsii.Number(123),
							},
						},
						NullDataVisibility: jsii.String("nullDataVisibility"),
					},
					Gradient: &GeospatialGradientColorProperty{
						StepColors: []interface{}{
							&GeospatialGradientStepColorProperty{
								Color: jsii.String("color"),
								DataValue: jsii.Number(123),
							},
						},

						// the properties below are optional
						DefaultOpacity: jsii.Number(123),
						NullDataSettings: &GeospatialNullDataSettingsProperty{
							SymbolStyle: &GeospatialNullSymbolStyleProperty{
								FillColor: jsii.String("fillColor"),
								StrokeColor: jsii.String("strokeColor"),
								StrokeWidth: jsii.Number(123),
							},
						},
						NullDataVisibility: jsii.String("nullDataVisibility"),
					},
					Solid: &GeospatialSolidColorProperty{
						Color: jsii.String("color"),

						// the properties below are optional
						State: jsii.String("state"),
					},
				},
				StrokeWidth: &GeospatialLineWidthProperty{
					LineWidth: jsii.Number(123),
				},
			},
		},
	},
	PolygonLayer: &GeospatialPolygonLayerProperty{
		Style: &GeospatialPolygonStyleProperty{
			PolygonSymbolStyle: &GeospatialPolygonSymbolStyleProperty{
				FillColor: &GeospatialColorProperty{
					Categorical: &GeospatialCategoricalColorProperty{
						CategoryDataColors: []interface{}{
							&GeospatialCategoricalDataColorProperty{
								Color: jsii.String("color"),
								DataValue: jsii.String("dataValue"),
							},
						},

						// the properties below are optional
						DefaultOpacity: jsii.Number(123),
						NullDataSettings: &GeospatialNullDataSettingsProperty{
							SymbolStyle: &GeospatialNullSymbolStyleProperty{
								FillColor: jsii.String("fillColor"),
								StrokeColor: jsii.String("strokeColor"),
								StrokeWidth: jsii.Number(123),
							},
						},
						NullDataVisibility: jsii.String("nullDataVisibility"),
					},
					Gradient: &GeospatialGradientColorProperty{
						StepColors: []interface{}{
							&GeospatialGradientStepColorProperty{
								Color: jsii.String("color"),
								DataValue: jsii.Number(123),
							},
						},

						// the properties below are optional
						DefaultOpacity: jsii.Number(123),
						NullDataSettings: &GeospatialNullDataSettingsProperty{
							SymbolStyle: &GeospatialNullSymbolStyleProperty{
								FillColor: jsii.String("fillColor"),
								StrokeColor: jsii.String("strokeColor"),
								StrokeWidth: jsii.Number(123),
							},
						},
						NullDataVisibility: jsii.String("nullDataVisibility"),
					},
					Solid: &GeospatialSolidColorProperty{
						Color: jsii.String("color"),

						// the properties below are optional
						State: jsii.String("state"),
					},
				},
				StrokeColor: &GeospatialColorProperty{
					Categorical: &GeospatialCategoricalColorProperty{
						CategoryDataColors: []interface{}{
							&GeospatialCategoricalDataColorProperty{
								Color: jsii.String("color"),
								DataValue: jsii.String("dataValue"),
							},
						},

						// the properties below are optional
						DefaultOpacity: jsii.Number(123),
						NullDataSettings: &GeospatialNullDataSettingsProperty{
							SymbolStyle: &GeospatialNullSymbolStyleProperty{
								FillColor: jsii.String("fillColor"),
								StrokeColor: jsii.String("strokeColor"),
								StrokeWidth: jsii.Number(123),
							},
						},
						NullDataVisibility: jsii.String("nullDataVisibility"),
					},
					Gradient: &GeospatialGradientColorProperty{
						StepColors: []interface{}{
							&GeospatialGradientStepColorProperty{
								Color: jsii.String("color"),
								DataValue: jsii.Number(123),
							},
						},

						// the properties below are optional
						DefaultOpacity: jsii.Number(123),
						NullDataSettings: &GeospatialNullDataSettingsProperty{
							SymbolStyle: &GeospatialNullSymbolStyleProperty{
								FillColor: jsii.String("fillColor"),
								StrokeColor: jsii.String("strokeColor"),
								StrokeWidth: jsii.Number(123),
							},
						},
						NullDataVisibility: jsii.String("nullDataVisibility"),
					},
					Solid: &GeospatialSolidColorProperty{
						Color: jsii.String("color"),

						// the properties below are optional
						State: jsii.String("state"),
					},
				},
				StrokeWidth: &GeospatialLineWidthProperty{
					LineWidth: jsii.Number(123),
				},
			},
		},
	},
}
```

## Properties

- `lineLayer`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.GeospatialLineLayerProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.GeospatialLineLayerProperty.html) — The definition for a line layer.

- `pointLayer`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.GeospatialPointLayerProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.GeospatialPointLayerProperty.html) — The definition for a point layer.

- `polygonLayer`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.GeospatialPolygonLayerProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.GeospatialPolygonLayerProperty.html) — The definition for a polygon layer.
