Home > @magiclane/maps-sdk > SocialOverlay > updateReport
SocialOverlay.updateReport() method
Modifies parameters of an existing owned report.
Updates custom parameters for a report created by the current user, such as location address or other metadata. The params structure must follow the format from OverlayItem.previewDataParameterList. Only the original report creator has authority to update their reports.
Signature:
static updateReport(input: {
item: OverlayItem;
params: SearchableParameterList;
onComplete?: (error: GemError) => void;
}): ProgressListener | null;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ item, params, onComplete, } |
(not declared) | |
|
input |
{ item: OverlayItem; params: SearchableParameterList; onComplete?: (error: GemError) => void; } |
input properties:
- item: OverlayItem
- params: SearchableParameterList
- Optional onComplete?: (error: GemError) => void
Returns:
ProgressListener | null
ProgressListener if operation was successfully initiated, null otherwise