Skip to content

Conversation

snkashis
Copy link
Member

Sets up bindPopup to use an existing popup if provided instead of creating a new one.
I could see how this could be quite useful for certain scenarios.

References issue #1208

@mourner
Copy link
Member

mourner commented Feb 15, 2013

Looks good!

mourner added a commit that referenced this pull request Feb 15, 2013
Allow previously created popups to be used with bindPopup
@mourner mourner merged commit 3cef077 into Leaflet:master Feb 15, 2013
@mourner
Copy link
Member

mourner commented Feb 17, 2013

@snkashis we probably need to revise Path.bindPopup according to this change too.

@snkashis
Copy link
Member Author

Will take care of it today.

On Feb 17, 2013, at 9:37, Vladimir Agafonkin notifications@github.com wrote:

@snkashis we probably need to revise Path.bindPopup according to this change too.


Reply to this email directly or view it on GitHub.

@mourner
Copy link
Member

mourner commented Feb 17, 2013

Thanks. :) There's no rush though.

BTW, I think I'll eventually extract all popup code shared between different layers into one module so there's no duplication. But that will be done as a part of a bigger refactoring so I'll have to do it myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants