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

Want to shift navigation tool on left side of cesium globe #48

Open
adeelahmed1981 opened this issue Mar 19, 2021 · 4 comments
Open

Want to shift navigation tool on left side of cesium globe #48

adeelahmed1981 opened this issue Mar 19, 2021 · 4 comments

Comments

@adeelahmed1981
Copy link

Hi,
I want to place navigation tool on left side of cesium globe how can achive this task?waiting for your reply
Thanks

@Larcius
Copy link
Contributor

Larcius commented Mar 20, 2021

you can achieve this by setting the CSS property left for compass, navigation controls and distance legend, i.e. like this:

<style type="text/css">
.compass {
    left: 0 !important;
}
.navigation-controls {
    left: 30px !important;
}
.distance-legend {
    left: 25px !important;
}
</style>

However, this ist just a quickwin, not a clean and robust solution. But hopefully it fits your needs for the moment.

@adeelahmed1981
Copy link
Author

you can achieve this by setting the CSS property left for compass and navigation controls, i.e. like this:

<style type="text/css">
.compass {
    left: 0 !important;
}
.navigation-controls {
    left: 30px !important;
}
</style>

However, this ist just a quickwin, not a clean and robust solution. But hopefully it fits your needs for the moment.

Hi @Larcius thanks for your quick response your solution is working i have one more query is there any possibility that we can also move distance legend from right to left as we move compass ?
thanks

@Larcius
Copy link
Contributor

Larcius commented Apr 5, 2021

oh, i forgot about that. I just updated my answer from march.

@adeelahmed1981
Copy link
Author

@Larcius thanks for your reply

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