Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popup placement for polylines #10

Closed
kyletolle opened this issue Jan 16, 2015 · 3 comments
Closed

Popup placement for polylines #10

kyletolle opened this issue Jan 16, 2015 · 3 comments
Labels

Comments

@kyletolle
Copy link
Contributor

When using the popup example, if you draw a polyline and then click on it, the edit popup appears below the point on the polyline on which you clicked.

screenshot 2015-01-16 13 22 01

Would it be possible to have the edit popup placed so that it appears to be right on or above the line instead of below it?

Somewhat related to #9.

@justinmanley
Copy link
Member

Yes - this is exactly the same issue as #8. I originally designed the popup to appear immediately above the point clicked - but I noticed when I was last doing bugfixes that this isn't the case any more.

@justinmanley
Copy link
Member

Should be fixed. Take a look at the latest examples: http://leaflet.github.io/Leaflet.toolbar/examples/popup.html#.

@kyletolle
Copy link
Contributor Author

Yes, this is now fixed and works as expected. Thanks!

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

No branches or pull requests

2 participants