Skip to main content
1 of 3
ericsoco
  • 323
  • 2
  • 6

_popup has an underscore in front of it to indicate that it's a private / member instance, and should not be accessed directly. The correct API is Layer.setPopupContent().

e.g.

marker.setPopupContent(newContent);
ericsoco
  • 323
  • 2
  • 6