createPane method

Element createPane(
  1. String name, [
  2. Element? container
])

Creates a new map pane with the given name if it doesn't exist already, then returns it. The pane is created as a child of container, or as a child of the main map pane if not set.

Implementation

external Element createPane(String name, [Element? container]);