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

Order of controls in same position is not respected #75

Closed
sroettering opened this issue Nov 27, 2018 · 2 comments
Closed

Order of controls in same position is not respected #75

sroettering opened this issue Nov 27, 2018 · 2 comments

Comments

@sroettering
Copy link
Contributor

When placing multiple control elements in the same position (e.g. 'top-right') the order in which they are declared in the component template is not respected.
I prepared this demo https://stackblitz.com/edit/angular-xfbv8d?file=demo.ts where I add a navigation control without a compass below a custom control but the order is ignored.
When I add a navigation control in the "load" callback I can, however, define an order.

Unfortunately, this is a difficult workaround if there are a lot of custom controls which should have a defined order.

@dmytro-gokun
Copy link
Collaborator

Same issue here

@dmytro-gokun
Copy link
Collaborator

@Wykks I will work on this

dmytro-gokun added a commit to dmytro-gokun/ngx-mapbox-gl that referenced this issue Jul 19, 2019
@Wykks Wykks closed this as completed in 10612f0 Jul 19, 2019
Wykks pushed a commit that referenced this issue Jul 19, 2019
… built-in controls (fix #75)

(cherry picked from commit 10612f0)
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

2 participants