跳到主要内容

flywave-mapview.imageitem

Home > @flywave/flywave-mapview > ImageItem

ImageItem class

ImageItem is used to identify an image in the .

Signature:

export declare class ImageItem 

Constructors

Constructor

Modifiers

Description

(constructor)(url, image)

Create the ImageItem.

Properties

Property

Modifiers

Type

Description

cancelled?

boolean

(Optional) Turns to true if the loading has been cancelled.

image?

TexturizableImage

(Optional)

loaded

readonly

boolean

loading

readonly

boolean

mipMaps?

ImageData[]

(Optional) Mip maps for image data

url

readonly

string

Methods

Method

Modifiers

Description

loadImage()

Load an ImageItem.