-
Notifications
You must be signed in to change notification settings - Fork 185
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
Add geometries #6
Comments
Thanks for the question! We need an API for geo-to-WebGL coordinate mapping to get your use case working. I just noticed that it's been undocumented although we already have the functionality. I am going to update the doc and create a simple example for this. |
For the moment, here's a quick demo. Basically, we are using the
|
This is really cool Jay, thank you very much! |
Just another thought, it would be great to also be able to get the elevation given coordinates. Then again, my limited knowledge of JavaScript keeps me from making the PR myself, apologies. Most people have lat/lon data but not elevation, it can be obtained via APIs but these are costly (Google Elevation API = $, Mapbox API = time). Being able to just get the elavation (not in meters but as on the projection) would make it much easier to layer three.js points/lines/text on top of the visualisation. |
I really agree with this insight. At this moment, I am 🚧 overhauling/refining the internal implementation of this projection stuff (and officially documenting it for the next point release). I will plan to 'upgrade' the |
Looking forward to this! |
Thank you so much for the awesome library.
I was toying with the idea of adding geometries, e.g.: a point.
However doing the above places the points way off, I assume there is some rescaling done internally but looking through the source code I cannot find out where or how.
How should I go about doing this?
The text was updated successfully, but these errors were encountered: