Home Reference Source Repository
import HelpControl from './controls/HelpControl.js'
public class | source

HelpControl

A help bar with several buttons which open popup modals when clicked.

Note that this is not a Leaflet control, but rather simply has to be added to a Leaflet map HTMLElement.

Template: HelpControlTemplate

Static Method Summary

Static Public Methods
public static

Creates the help control and returns the HTML element that has to be added to a Leaflet map HTML element.

Static Public Methods

public static createElement(): HTMLElement source

Creates the help control and returns the HTML element that has to be added to a Leaflet map HTML element.

Return:

HTMLElement