Skip to main content

flywave-mapview.copyrightelementhandler._constructor_

Home > @flywave/flywave-mapview > CopyrightElementHandler > (constructor)

CopyrightElementHandler.(constructor)

Creates a new CopyrightElementHandler that updates the DOM element with the copyright info of the given mapView.

Note: Generally, the static [[install]] method can be used to create and attach a new CopyrightElementHandler to a MapView

Signature:

constructor(element: string | HTMLElement, mapView?: MapView);

Parameters

Parameter

Type

Description

element

string | HTMLElement

HTML DOM element or a HTML DOM element id

mapView

MapView

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