跳到主要内容

flywave-mapview.copyrightelementhandler.install

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

CopyrightElementHandler.install() method

Install CopyrightElementHandler on DOM element and - optionally - attach to a MapView instance.

Signature:

static install(element: string | HTMLElement, mapView?: MapView): CopyrightElementHandler;

Parameters

Parameter

Type

Description

element

string | HTMLElement

HTML DOM element or a HTML DOM element id

mapView

MapView

(Optional) , optional, [[attach]] to this MapView

Returns:



[CopyrightElementHandler](./flywave-mapview.copyrightelementhandler.md)