MapImageStyle Class

public final class MapImageStyle
extends ExpandableStringEnum<MapImageStyle>

Defines values for MapImageStyle.

Field Summary

Modifier and Type Field and Description
static final MapImageStyle DARK

Dark grey version of the Azure Maps main style.

static final MapImageStyle MAIN

Azure Maps main style.

Constructor Summary

Constructor Description
MapImageStyle()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MapImageStyle value.

Method Summary

Modifier and Type Method and Description
static MapImageStyle fromString(String name)

Creates or finds a MapImageStyle from its string representation.

static Collection<MapImageStyle> values()

Gets known MapImageStyle values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DARK

public static final MapImageStyle DARK

Dark grey version of the Azure Maps main style.

MAIN

public static final MapImageStyle MAIN

Azure Maps main style.

Constructor Details

MapImageStyle

@Deprecated
public MapImageStyle()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MapImageStyle value.

Method Details

fromString

public static MapImageStyle fromString(String name)

Creates or finds a MapImageStyle from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MapImageStyle.

values

public static Collection<MapImageStyle> values()

Gets known MapImageStyle values.

Returns:

known MapImageStyle values.

Applies to