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
Control position extend #5554
Control position extend #5554
Conversation
How do we go about legacy browsers that don't support transform here? Is there a fallback in behavior? |
@mourner hm, yes, you're right, this will not work in IE < 9 if I understand correctly. We'll have to bring out the annoying IE workarounds once again, I guess. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tidak akurat gps nya
Closing in favor of #8358, to discuss this thoroughly first. |
This is a continuation of #5264.
Vertical and horizontal center is added with the new control positions
topcenter
,leftcenter
,rightcenter
,bottomcenter
andcenter
(vertical and horizontal center).This is mostly @yigityuce's work.
After some discussion, the consensus seems to be that the using the CSS terminology "middle" for vertical center is confusing, so we now use "center" for horizontal as well as vertical. We also happen to use the same terminology as another map library (thanks @gassc for this hint).