bindPopup method

Layer bindPopup(
  1. Popup content
)

Binds a popup to the layer with the passed content and sets up the necessary event listeners. If a Function is passed it will receive the layer as the first argument and should return a String or HTMLElement

Implementation

external Layer bindPopup(Popup content);