Interface SymbolIconLayer

A layer that displays one or more symbols at geographic points on the map.

See

Mapbox symbol layer

Hierarchy

  • SymbolLayer
    • SymbolIconLayer

Properties

iconImageUrl: string

A URL to an image resource to be displayed as the symbol for the coordinates in the layer.

id: string
type: "symbol"
filter?: any[]
imageOptions?: {
    pixelRatio?: number;
    sdf?: boolean;
}

Options for the image resource.

See

Mapbox addLayer method

Type declaration

  • Optional pixelRatio?: number
  • Optional sdf?: boolean
interactive?: boolean
layout?: SymbolLayout
maxzoom?: number
metadata?: any
minzoom?: number
paint?: SymbolPaint
ref?: string
source?: string | AnySourceData
source-layer?: string

Generated using TypeDoc