Skip to content

Pass Popup object to Marker.bindPopup method #1208

@mbektimirov

Description

@mbektimirov

Currently it is impossible to reuse an existing popup in marker but only create a new one.

Sample code:

var m = L.marker([12, 45]);
var p = L.popup();

m.bindPopup(p);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions