跳到主要内容

flywave-mapview.copyrightelementhandler.setstaticcopyightinfo

Home > @flywave/flywave-mapview > CopyrightElementHandler > setStaticCopyightInfo

CopyrightElementHandler.setStaticCopyightInfo() method

Sets the [[staticInfo]] property.

A CopyrightElementHandler always displays a deduplicated sum of static copyright info and copyright information obtained from attached MapViews.

This information is used when DataSource instances of given MapView do not provide copyright information.

Signature:

setStaticCopyightInfo(staticInfo: CopyrightInfo[] | undefined): this;

Parameters

Parameter

Type

Description

staticInfo

CopyrightInfo[] | undefined

Returns:



this