Class MapConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.location.model.MapConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MapConfiguration.Builder,MapConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class MapConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MapConfiguration.Builder,MapConfiguration>
Specifies the map tile style selected from an available provider.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMapConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MapConfiguration.Builderbuilder()List<String>customLayers()Specifies the custom layers for the style.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasCustomLayers()For responses, this returns true if the service returned a value for the CustomLayers property.inthashCode()StringpoliticalView()Specifies the political view for the style.List<SdkField<?>>sdkFields()static Class<? extends MapConfiguration.Builder>serializableBuilderClass()Stringstyle()Specifies the map style selected from an available data provider.MapConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hasCustomLayers
public final boolean hasCustomLayers()
For responses, this returns true if the service returned a value for the CustomLayers property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
customLayers
public final List<String> customLayers()
Specifies the custom layers for the style. Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as
POIlayer for the VectorEsriNavigation style. Default isunset.Currenlty only
VectorEsriNavigationsupports CustomLayers. For more information, see Custom Layers.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasCustomLayers()method.- Returns:
- Specifies the custom layers for the style. Leave unset to not enable any custom layer, or, for styles
that support custom layers, you can enable layer(s), such as
POIlayer for the VectorEsriNavigation style. Default isunset.Currenlty only
VectorEsriNavigationsupports CustomLayers. For more information, see Custom Layers.
-
politicalView
public final String politicalView()
Specifies the political view for the style. Leave unset to not use a political view, or, for styles that support specific political views, you can choose a view, such as
INDfor the Indian view.Default is unset.
Not all map resources or styles support political view styles. See Political views for more information.
- Returns:
- Specifies the political view for the style. Leave unset to not use a political view, or, for styles that
support specific political views, you can choose a view, such as
INDfor the Indian view.Default is unset.
Not all map resources or styles support political view styles. See Political views for more information.
-
style
public final String style()
Specifies the map style selected from an available data provider.
Valid Esri map styles:
-
VectorEsriNavigation– The Esri Navigation map style, which provides a detailed basemap for the world symbolized with a custom navigation map style that's designed for use during the day in mobile devices. It also includes a richer set of places, such as shops, services, restaurants, attractions, and other points of interest. Enable thePOIlayer by setting it in CustomLayers to leverage the additional places data. -
RasterEsriImagery– The Esri Imagery map style. A raster basemap that provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide. -
VectorEsriLightGrayCanvas– The Esri Light Gray Canvas map style, which provides a detailed vector basemap with a light gray, neutral background style with minimal colors, labels, and features that's designed to draw attention to your thematic content. -
VectorEsriTopographic– The Esri Light map style, which provides a detailed vector basemap with a classic Esri map style. -
VectorEsriStreets– The Esri Street Map style, which provides a detailed vector basemap for the world symbolized with a classic Esri street map style. The vector tile layer is similar in content and style to the World Street Map raster map. -
VectorEsriDarkGrayCanvas– The Esri Dark Gray Canvas map style. A vector basemap with a dark gray, neutral background with minimal colors, labels, and features that's designed to draw attention to your thematic content.
Valid HERE Technologies map styles:
-
VectorHereExplore– A default HERE map style containing a neutral, global map and its features including roads, buildings, landmarks, and water features. It also now includes a fully designed map of Japan. -
RasterHereExploreSatellite– A global map containing high resolution satellite imagery. -
HybridHereExploreSatellite– A global map displaying the road network, street names, and city labels over satellite imagery. This style will automatically retrieve both raster and vector tiles, and your charges will be based on total tiles retrieved.Hybrid styles use both vector and raster tiles when rendering the map that you see. This means that more tiles are retrieved than when using either vector or raster tiles alone. Your charges will include all tiles retrieved.
-
VectorHereContrast– The HERE Contrast (Berlin) map style is a high contrast detailed base map of the world that blends 3D and 2D rendering.The
VectorHereContraststyle has been renamed fromVectorHereBerlin.VectorHereBerlinhas been deprecated, but will continue to work in applications that use it. -
VectorHereExploreTruck– A global map containing truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with highlighted segments and icons on top of HERE Explore to support use cases within transport and logistics.
Valid GrabMaps map styles:
-
VectorGrabStandardLight– The Grab Standard Light map style provides a basemap with detailed land use coloring, area names, roads, landmarks, and points of interest covering Southeast Asia. -
VectorGrabStandardDark– The Grab Standard Dark map style provides a dark variation of the standard basemap covering Southeast Asia.
Grab provides maps only for countries in Southeast Asia, and is only available in the Asia Pacific (Singapore) Region (
ap-southeast-1). For more information, see GrabMaps countries and area covered.Valid Open Data map styles:
-
VectorOpenDataStandardLight– The Open Data Standard Light map style provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries. -
VectorOpenDataStandardDark– Open Data Standard Dark is a dark-themed map style that provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries. -
VectorOpenDataVisualizationLight– The Open Data Visualization Light map style is a light-themed style with muted colors and fewer features that aids in understanding overlaid data. -
VectorOpenDataVisualizationDark– The Open Data Visualization Dark map style is a dark-themed style with muted colors and fewer features that aids in understanding overlaid data.
- Returns:
- Specifies the map style selected from an available data provider.
Valid Esri map styles:
-
VectorEsriNavigation– The Esri Navigation map style, which provides a detailed basemap for the world symbolized with a custom navigation map style that's designed for use during the day in mobile devices. It also includes a richer set of places, such as shops, services, restaurants, attractions, and other points of interest. Enable thePOIlayer by setting it in CustomLayers to leverage the additional places data. -
RasterEsriImagery– The Esri Imagery map style. A raster basemap that provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide. -
VectorEsriLightGrayCanvas– The Esri Light Gray Canvas map style, which provides a detailed vector basemap with a light gray, neutral background style with minimal colors, labels, and features that's designed to draw attention to your thematic content. -
VectorEsriTopographic– The Esri Light map style, which provides a detailed vector basemap with a classic Esri map style. -
VectorEsriStreets– The Esri Street Map style, which provides a detailed vector basemap for the world symbolized with a classic Esri street map style. The vector tile layer is similar in content and style to the World Street Map raster map. -
VectorEsriDarkGrayCanvas– The Esri Dark Gray Canvas map style. A vector basemap with a dark gray, neutral background with minimal colors, labels, and features that's designed to draw attention to your thematic content.
Valid HERE Technologies map styles:
-
VectorHereExplore– A default HERE map style containing a neutral, global map and its features including roads, buildings, landmarks, and water features. It also now includes a fully designed map of Japan. -
RasterHereExploreSatellite– A global map containing high resolution satellite imagery. -
HybridHereExploreSatellite– A global map displaying the road network, street names, and city labels over satellite imagery. This style will automatically retrieve both raster and vector tiles, and your charges will be based on total tiles retrieved.Hybrid styles use both vector and raster tiles when rendering the map that you see. This means that more tiles are retrieved than when using either vector or raster tiles alone. Your charges will include all tiles retrieved.
-
VectorHereContrast– The HERE Contrast (Berlin) map style is a high contrast detailed base map of the world that blends 3D and 2D rendering.The
VectorHereContraststyle has been renamed fromVectorHereBerlin.VectorHereBerlinhas been deprecated, but will continue to work in applications that use it. -
VectorHereExploreTruck– A global map containing truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with highlighted segments and icons on top of HERE Explore to support use cases within transport and logistics.
Valid GrabMaps map styles:
-
VectorGrabStandardLight– The Grab Standard Light map style provides a basemap with detailed land use coloring, area names, roads, landmarks, and points of interest covering Southeast Asia. -
VectorGrabStandardDark– The Grab Standard Dark map style provides a dark variation of the standard basemap covering Southeast Asia.
Grab provides maps only for countries in Southeast Asia, and is only available in the Asia Pacific (Singapore) Region (
ap-southeast-1). For more information, see GrabMaps countries and area covered.Valid Open Data map styles:
-
VectorOpenDataStandardLight– The Open Data Standard Light map style provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries. -
VectorOpenDataStandardDark– Open Data Standard Dark is a dark-themed map style that provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries. -
VectorOpenDataVisualizationLight– The Open Data Visualization Light map style is a light-themed style with muted colors and fewer features that aids in understanding overlaid data. -
VectorOpenDataVisualizationDark– The Open Data Visualization Dark map style is a dark-themed style with muted colors and fewer features that aids in understanding overlaid data.
-
-
-
toBuilder
public MapConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MapConfiguration.Builder,MapConfiguration>
-
builder
public static MapConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends MapConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-