threebox icon indicating copy to clipboard operation
threebox copied to clipboard

heading frame of reference

Open marcovc opened this issue 6 years ago • 1 comments

Hi,

I'm extending a bit the "truck" example. There is a "heading" option there which I think is supposed to be where the truck is heading geographically. I can change the heading of the truck dynamically (i.e. trough updateSourceData) and it works fine. However, if I change the orientation of the map interactively with the mouse, and then update the heading of the truck, it appears that the new heading is not correct. In short, it looks like the camera orientation of the map is affecting the geographic heading of the truck.

I hope this explanation was clear enough. Is this the intended behaviour?

Thanks Marco

marcovc avatar Aug 28 '17 12:08 marcovc

cc/ @kronick

peterqliu avatar Aug 28 '17 18:08 peterqliu