Skip to content
v2.278.0

GeospatialMapStyleProperty Struct ​

The map style properties for a map.

Example ​

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 geospatialMapStyleProperty: quicksight.CfnAnalysis.GeospatialMapStyleProperty = {
  backgroundColor: 'backgroundColor',
  baseMapStyle: 'baseMapStyle',
  baseMapVisibility: 'baseMapVisibility',
};
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_map_style_property = quicksight.CfnAnalysis.GeospatialMapStyleProperty(
    background_color="backgroundColor",
    base_map_style="baseMapStyle",
    base_map_visibility="baseMapVisibility"
)
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.*;

GeospatialMapStyleProperty geospatialMapStyleProperty = GeospatialMapStyleProperty.builder()
        .backgroundColor("backgroundColor")
        .baseMapStyle("baseMapStyle")
        .baseMapVisibility("baseMapVisibility")
        .build();
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 geospatialMapStyleProperty = new GeospatialMapStyleProperty {
    BackgroundColor = "backgroundColor",
    BaseMapStyle = "baseMapStyle",
    BaseMapVisibility = "baseMapVisibility"
};
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"

geospatialMapStyleProperty := &GeospatialMapStyleProperty{
	BackgroundColor: jsii.String("backgroundColor"),
	BaseMapStyle: jsii.String("baseMapStyle"),
	BaseMapVisibility: jsii.String("baseMapVisibility"),
}

Properties ​

backgroundColoroptionalstringbackground_coloroptionalstrbackgroundColoroptionalStringBackgroundColoroptionalstringBackgroundColoroptional*string #
The background color and opacity values for a map.
baseMapStyleoptionalstringbase_map_styleoptionalstrbaseMapStyleoptionalStringBaseMapStyleoptionalstringBaseMapStyleoptional*string #
The selected base map style.
baseMapVisibilityoptionalstringbase_map_visibilityoptionalstrbaseMapVisibilityoptionalStringBaseMapVisibilityoptionalstringBaseMapVisibilityoptional*string #
The state of visibility for the base map.