Skip to content

Why no Marker#getPopup or Popup#getContent methods? #2100

@connor

Description

@connor

Just curious behind why these methods aren't exposed. I know we can just do Marker._popup or Popup._content, but in a few recent projects I've needed them and don't feel great reaching into underscore-prefixed properties (might just be my style).

Anyways — just thought I'd bring it up. Happy to submit a PR for my branch, but I figured if they're not there already then there is a reason.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions