Home > @magiclane/maps-sdk > OverlayItem > getPreviewExtendedData

OverlayItem.getPreviewExtendedData() method

Get extended preview data asynchronously for the overlay item.

Signature:

getPreviewExtendedData(onResult: (err: GemError, params: SearchableParameterList | null) => void): any;

Parameters

Parameter

Type

Description

onResult

(err: GemError, params: SearchableParameterList | null) => void

Callback function invoked with (error, parameters) when complete

Returns:

any

The EventDrivenProgressListener that identifies this operation, or null if it couldn't be started

Exceptions

An exception if it fails