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

info window #5

Open
geraldstanje opened this issue Apr 20, 2016 · 2 comments
Open

info window #5

geraldstanje opened this issue Apr 20, 2016 · 2 comments

Comments

@geraldstanje
Copy link

geraldstanje commented Apr 20, 2016

Hi @brendankenny,

in your presentation you showed an info window: https://youtu.be/aZJnI6hxr-c?t=2009

could you post your canvas event listener code and how you store all lat/long points for lookup?

Thanks

@caioiglesias
Copy link

My hunch is that the lat/longs along with the other information from ships are stored on a file, loaded into an array that gets loaded on the Canvas Layer (webgl). When clicked he just gets the index number from webgl (if I were using Three.js I'd get the index number using raycasting), and then open an infowindow on Google Maps looking up the info on the array loaded from the file.

@geraldstanje
Copy link
Author

@caioiglesias a point is on the map is represented by: the coordinate (x,y) of the point, size of the point, an off screen color, and an on screen color. what is the off/onscreen color used for? how are they stored and rendered?

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