# Interface BasemapLayerJsonBase

Properties for layers that are acceptable as basemap layers.

See https://developers.arcgis.com/web-map-specification/objects/baseMapLayer/.

interface BasemapLayerJsonBase {
blendMode?:
| "invert"
| "normal"
| "lighter"
| "multiply"
| "color"
| "average"
| "color-burn"
| "color-dodge"
| "darken"
| "destination-atop"
| "destination-in"
| "destination-out"
| "destination-over"
| "difference"
| "exclusion"
| "hard-light"
| "hue"
| "lighten"
| "luminosity"
| "minus"
| "overlay"
| "plus"
| "reflect"
| "saturation"
| "screen"
| "soft-light"
| "source-atop"
| "source-in"
| "source-out"
| "vivid-light"
| "xor";
effect?: EffectJson;
id?: string;
isReference?: boolean;
layerType?: LayerJsonType;
maxScale?: number;
minScale?: number;
opacity?: number;
showLegend?: boolean;
title?: string;
type?: LegacyOperationalLayerJsonType | LegacyBasemapLayerJsonType;
visibility?: boolean;
visibilityTimeExtent?: [number, number];
}

#### Hierarchy (view full)

- LayerJsonBase
  - BasemapLayerJsonBase
    - BingLayerJson
    - ImageServiceLayerJson
    - ImageServiceVectorLayerJson
    - MapServiceLayerJson
    - OpenStreetMapLayerJson
    - RasterDataElevationLayerJson
    - TiledElevationServiceLayerJson
    - TiledImageServiceLayerJson
    - TiledMapServiceLayerJson
    - VectorTileLayerJson
    - WMSLayerJson
    - WebTileLayerJson

#####
Index

### Properties

blendMode?
effect?
id?
isReference?
layerType?
maxScale?
minScale?
opacity?
showLegend?
title?
type?
visibility?
visibilityTimeExtent?

##
Properties

### `Optional` blendMode

blendMode?:
| "invert"
| "normal"
| "lighter"
| "multiply"
| "color"
| "average"
| "color-burn"
| "color-dodge"
| "darken"
| "destination-atop"
| "destination-in"
| "destination-out"
| "destination-over"
| "difference"
| "exclusion"
| "hard-light"
| "hue"
| "lighten"
| "luminosity"
| "minus"
| "overlay"
| "plus"
| "reflect"
| "saturation"
| "screen"
| "soft-light"
| "source-atop"
| "source-in"
| "source-out"
| "vivid-light"
| "xor"

Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer.

Inherited from LayerJsonBase.blendMode

### `Optional` effect

effect?: EffectJson

Effect provides various filter functions to achieve different visual effects similar to how image filters (photo apps) work.

Inherited from LayerJsonBase.effect

### `Optional` id

id?: string

A unique identifying string for the layer.

Inherited from LayerJsonBase.id

### `Optional` isReference

isReference?: boolean

This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false).

### `Optional` layerType

layerType?: LayerJsonType

Type of the layer.

Inherited from LayerJsonBase.layerType

### `Optional` maxScale

maxScale?: number

A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator; thus, a value of 2400 represents a scale of 1/2,400. A value of 0 indicates that the layer will be visible no matter how far you zoom in.

Inherited from LayerJsonBase.maxScale

### `Optional` minScale

minScale?: number

A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator; thus, a value of 2400 represents a scale of 1/2,400.

Inherited from LayerJsonBase.minScale

### `Optional` opacity

opacity?: number

The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.

Inherited from LayerJsonBase.opacity

### `Optional` showLegend

showLegend?: boolean

Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend.

Inherited from LayerJsonBase.showLegend

### `Optional` title

title?: string

A user-friendly title for the layer that can be used in a table of contents. If this is not included, then a title is derived from the service.

Inherited from LayerJsonBase.title

### `Optional` type

type?: LegacyOperationalLayerJsonType | LegacyBasemapLayerJsonType

(Deprecated, use layerType instead.) If the layer is referenced through a URL, but is not an ArcGIS web service, then this parameter can be supplied to denote the layer type.

Inherited from LayerJsonBase.type

### `Optional` visibility

visibility?: boolean

Determines whether the layer is initially visible in the web map.

Inherited from LayerJsonBase.visibility

### `Optional` visibilityTimeExtent

visibilityTimeExtent?: [number, number]

Represents time extent that will control when a layer should be visible based on webmap's current time. Visibility time extent only affects the layer visibility and will not filter the data.

Inherited from LayerJsonBase.visibilityTimeExtent