Skip to content
v2.278.0

GeospatialMapStateProperty Struct ​

The map state 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 geospatialMapStateProperty: quicksight.CfnAnalysis.GeospatialMapStateProperty = {
  bounds: {
    east: 123,
    north: 123,
    south: 123,
    west: 123,
  },
  mapNavigation: 'mapNavigation',
};
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_state_property = quicksight.CfnAnalysis.GeospatialMapStateProperty(
    bounds=quicksight.CfnAnalysis.GeospatialCoordinateBoundsProperty(
        east=123,
        north=123,
        south=123,
        west=123
    ),
    map_navigation="mapNavigation"
)
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.*;

GeospatialMapStateProperty geospatialMapStateProperty = GeospatialMapStateProperty.builder()
        .bounds(GeospatialCoordinateBoundsProperty.builder()
                .east(123)
                .north(123)
                .south(123)
                .west(123)
                .build())
        .mapNavigation("mapNavigation")
        .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 geospatialMapStateProperty = new GeospatialMapStateProperty {
    Bounds = new GeospatialCoordinateBoundsProperty {
        East = 123,
        North = 123,
        South = 123,
        West = 123
    },
    MapNavigation = "mapNavigation"
};
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"

geospatialMapStateProperty := &GeospatialMapStateProperty{
	Bounds: &GeospatialCoordinateBoundsProperty{
		East: jsii.Number(123),
		North: jsii.Number(123),
		South: jsii.Number(123),
		West: jsii.Number(123),
	},
	MapNavigation: jsii.String("mapNavigation"),
}

Properties ​

boundsoptionalIResolvable | CfnAnalysis.GeospatialCoordinateBoundsPropertyboundsoptionaltyping.Union[IResolvable, GeospatialCoordinateBoundsProperty]boundsoptionalIResolvableBoundsoptionalIResolvableBoundsoptionalinterface{} #
mapNavigationoptionalstringmap_navigationoptionalstrmapNavigationoptionalStringMapNavigationoptionalstringMapNavigationoptional*string #
Enables or disables map navigation for a map.