Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CopyrightElementHandler

Helper class that maintains up-to-date MapView copyright information in DOM element.

example
// HTML snippet
<div id="copyrightNotice" style="position:absolute; right:0; bottom:0; z-index:100"></div>

// JavaScript
const mapView = new MapView({ ... });
CopyrightElementHandler.install("copyrightNotice", mapView);

Hierarchy

  • CopyrightElementHandler

Index

Constructors

constructor

Properties

staticInfo

staticInfo: CopyrightInfo[] | undefined

Static copyright info.

Use when MapView's DataSource's do not provide proper copyright information.

Methods

attach

destroy

  • destroy(): void

detach

setDefaults

setStaticCopyightInfo

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

update

  • update(): void

Static install

Generated using TypeDoc