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

Dynamic centering on visible portion of the path #46

Open
a1an77 opened this issue Apr 8, 2016 · 0 comments
Open

Dynamic centering on visible portion of the path #46

a1an77 opened this issue Apr 8, 2016 · 0 comments

Comments

@a1an77
Copy link

a1an77 commented Apr 8, 2016

It would be great to have an option to choose between static (current behaviour) and dynamic centring of the label on partially visible paths. By dynamic I mean that the label position should be recomputed on moveend so that it stands in the centre of the visible portion of it.
This way the label would be visible to the user until there is no space left to place it instead of standing outside of the map only because the centre of the whole path it labels is out of view.

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

No branches or pull requests

1 participant