MapStaticImageOptions Class

  • java.lang.Object
    • com.azure.maps.render.models.MapStaticImageOptions

public final class MapStaticImageOptions

Organize inputs for get map static image

Constructor Summary

Constructor Description
MapStaticImageOptions()

Creates an instance of MapStaticImageOptions.

Method Summary

Modifier and Type Method and Description
GeoBoundingBox getBoundingBox()

gets bounding box

GeoPosition getCenter()

gets center

Integer getHeight()

gets height

String getLanguage()

gets language

LocalizedMapView getLocalizedMapView()

gets localized map view

List<String> getPath()

gets path

List<String> getPins()

gets pins

StaticMapLayer getStaticMapLayer()

Gets static map layer

TilesetId getTilesetId()

Gets tilesetId

Integer getWidth()

gets width

Integer getZoom()

gets zoom

MapStaticImageOptions setBoundingBox(GeoBoundingBox boundingBox)

sets bounding box

MapStaticImageOptions setCenter(GeoPosition center)

sets center

MapStaticImageOptions setHeight(Integer height)

sets height

MapStaticImageOptions setLanguage(String language)

sets language

MapStaticImageOptions setLocalizedMapView(LocalizedMapView localizedMapView)

sets localized map view

MapStaticImageOptions setPath(List<String> path)

sets path

MapStaticImageOptions setPins(List<String> pins)

sets pins

MapStaticImageOptions setStaticMapLayer(StaticMapLayer staticMapLayer)

Sets static map layer

MapStaticImageOptions setTilesetId(TilesetId tilesetId)

Set tileset id

MapStaticImageOptions setWidth(Integer width)

sets width

MapStaticImageOptions setZoom(Integer zoom)

sets zoom

Methods inherited from java.lang.Object

Constructor Details

MapStaticImageOptions

public MapStaticImageOptions()

Creates an instance of MapStaticImageOptions.

Method Details

getBoundingBox

public GeoBoundingBox getBoundingBox()

gets bounding box

Returns:

the bounding box of the image

getCenter

public GeoPosition getCenter()

gets center

Returns:

the center of the image

getHeight

public Integer getHeight()

gets height

Returns:

the height of the image

getLanguage

public String getLanguage()

gets language

Returns:

the language

getLocalizedMapView

public LocalizedMapView getLocalizedMapView()

gets localized map view

Returns:

the localized map view

getPath

public List<String> getPath()

gets path

Returns:

a list representing the path

getPins

public List<String> getPins()

gets pins

Returns:

a list of pins

getStaticMapLayer

public StaticMapLayer getStaticMapLayer()

Gets static map layer

Returns:

the StaticMapLayer

getTilesetId

public TilesetId getTilesetId()

Gets tilesetId

Returns:

tilesetId

getWidth

public Integer getWidth()

gets width

Returns:

the width of the image

getZoom

public Integer getZoom()

gets zoom

Returns:

the zoom level

setBoundingBox

public MapStaticImageOptions setBoundingBox(GeoBoundingBox boundingBox)

sets bounding box

Parameters:

boundingBox - the bounding box of the image

Returns:

a reference to this MapStaticImageOptions

setCenter

public MapStaticImageOptions setCenter(GeoPosition center)

sets center

Parameters:

center - center of the image

Returns:

a reference to this MapStaticImageOptions

setHeight

public MapStaticImageOptions setHeight(Integer height)

sets height

Parameters:

height - the height of the image

Returns:

a reference to this MapStaticImageOptions

setLanguage

public MapStaticImageOptions setLanguage(String language)

sets language

Parameters:

language - the language

Returns:

a reference to this MapStaticImageOptions

setLocalizedMapView

public MapStaticImageOptions setLocalizedMapView(LocalizedMapView localizedMapView)

sets localized map view

Parameters:

localizedMapView - the localized map view

Returns:

a reference to this MapStaticImageOptions

setPath

public MapStaticImageOptions setPath(List<String> path)

sets path

Parameters:

path - the path

Returns:

a reference to this MapStaticImageOptions

setPins

public MapStaticImageOptions setPins(List<String> pins)

sets pins

Parameters:

pins - list of pins

Returns:

a reference to this MapStaticImageOptions

setStaticMapLayer

public MapStaticImageOptions setStaticMapLayer(StaticMapLayer staticMapLayer)

Sets static map layer

Parameters:

staticMapLayer - the static map layer StaticMapLayer

Returns:

a reference to this MapStaticImageOptions

setTilesetId

public MapStaticImageOptions setTilesetId(TilesetId tilesetId)

Set tileset id

Parameters:

tilesetId - tileset id

Returns:

a reference to this MapStaticImageOptions

setWidth

public MapStaticImageOptions setWidth(Integer width)

sets width

Parameters:

width - the width of the image

Returns:

a reference to this MapStaticImageOptions

setZoom

public MapStaticImageOptions setZoom(Integer zoom)

sets zoom

Parameters:

zoom - the zoom level

Returns:

a reference to this MapStaticImageOptions

Applies to