You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev
Part of my map is hiding under another HTML element, and sometimes above it. I want to change the center of the view when I use flyTo according to the new center of the map.
What is the best way to do this?
Omar Shehata
unread,
Oct 9, 2018, 11:18:25 AM10/9/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev
I think it depends on how you're using flyTo. If you're just passing in a destination as a Cartesian3, you can just apply an offset to that before you pass it in. You may also find these functions helpful in translating back and forth between world and screen coordinates: