Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Points are incorrectly positioned on map #29

Open
codefrenzy opened this issue May 8, 2015 · 0 comments
Open

Points are incorrectly positioned on map #29

codefrenzy opened this issue May 8, 2015 · 0 comments

Comments

@codefrenzy
Copy link

Hi again,

Apologies for adding another issue, but I'm seeing some strange behaviour. I am plotting this data:

[["departure",[52.3,4.76666666666667,1.0,1.36666666666667,103.983333333333,0.0]],["arrival",[1.36666666666667,103.983333333333,1.0,52.3,4.76666666666667,0.0]]]

This should result in 2 series; the first represents departures where the first point is Amsterdam and the second point (which is set to magnitude = 0) is Singapore. The second series are arrivals where the first point is Singapore and the second point (which also has magnitude set to 0) is Amsterdam.

If I try to each series independently, by hovering over some text, only the first point is drawn in the correct position. So in this case, when the globe first renders it renders departures, focusing on Amsterdam which is drawn in the right place. When I mouse-over arrivals though, Singapore is not drawn in the right place. I find the same happens if I reverse the order of the series so arrivals are first - then Singapore is rendered in the right place and Amsterdam isn't.

What could be the problem? The data seems ok to me?

When Singapore is rendered first, this is where Singapore is rendered (correct):
image

When Singapore is rendered second (on mouse-over), this is where Singapore is rendered (incorrect):
image

Both of the maps above are using the same coordinates for Singapore (see data above).

Appreciate any help.

Cheers,
Annie

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant