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

Jvm usage #73

Open
aaziz993 opened this issue Jul 9, 2024 · 4 comments
Open

Jvm usage #73

aaziz993 opened this issue Jul 9, 2024 · 4 comments

Comments

@aaziz993
Copy link

aaziz993 commented Jul 9, 2024

How to use it in Jvm. I didnt find any samples.

@ComBatVision
Copy link
Member

Hi. Currently, the JVM version is not finished.
We have not completed the main class WorldWindJPanel and gesture processing logic.
We do not use JVM in our production projects, so there is no estimation when we will finish it.

@aaziz993
Copy link
Author

aaziz993 commented Jul 9, 2024

Can you please share what you have done till the moment to see if I can do something with it.

@ComBatVision
Copy link
Member

You can look inside androidMain and jsMain source code, and you will find Worldwindow class, which is the main view class responsible for frame rendering. In Andoid, it is a GLSurfaceView child, in JS it is a WebGLCanvas.

As a first step, it is required to do something similar as a JPanel child for Swing or JavaFX.

Then it will be required to implement touch gestures interception similar to BasicWorldwindowController inAndroid or JS.

Most internal classes like ImageTexture and pthers are already implemented for JVM.

@aaziz993
Copy link
Author

aaziz993 commented Jul 9, 2024

Understood. I will try to implement it. Thank you.

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