setPopup method

Marker setPopup(
  1. Popup popup
)

Binds a Popup to the Marker @param popup an instance of the Popup class. If undefined or null, any popup set on this Marker instance is unset @returns {Marker} this

Implementation

Marker setPopup(Popup popup) =>
    Marker.fromJsObject(jsObject.setPopup(popup.jsObject));