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

kmlSubstyle balloonStyle display support for kmlFile layer placemarks #839

Open
reterraform opened this issue Oct 18, 2020 · 9 comments
Open

Comments

@reterraform
Copy link

If I'm correct, kmlSubstyle balloonStyle is currently only parsed but not displayable in
WebWorldWind kmlFile layer placemarks. If so, I'd like to suggest the capability to display them as a potential enhancement.

Thank you

@reterraform
Copy link
Author

is this project still active?

Thanks

@markpet49
Copy link
Member

@reterraform Hi, Thanks for your interest in WorldWind. Yes, this project is under active development. We are currently working on a new set of enhancements and bug fixes that should show up in this repo in the next month or so. The enhancement you've requested will be reviewed for inclusion in a future release.

@balhar-jakub
Copy link
Contributor

@reterraform You are right, at the moment the KmlBalloonStyle is unprocessed, but it should be relatively straightforward to implement it. There are needed tools within the Web World Wind.

I can probably help you if you are interested in implementing the logic?

@reterraform
Copy link
Author

reterraform commented Jan 12, 2021

@balhar-jakub, Yes, any assistance with this would very much appreciated! I feel that, if implemented, it's a feature that will add a lot of value to WebWorldWind.

CHEERS

...or even just an example as a guide might allow me to find my way along; either way, much appreciated!

@reterraform
Copy link
Author

hello, just checking back to see if there's still any interest in implementing the KmlBalloonStyle functionality;

if not, no worries at all, & thanks in any case!

@balhar-jakub
Copy link
Contributor

I was actually looking into it. It seems that this functionality is linked to the controls of the KML. What I can do, is update the KmlTreeControls and when a user clicks on the specific item in the tree if there is a KmlBalloonStyle associated with the feature, it will be displayed on the screen.

Does this works well enough for your use case?

@reterraform
Copy link
Author

reterraform commented Feb 17, 2021

that definitely sounds like it would indeed do the job; greatly appreciate your kind time & effort on this matter!

CHEERS

@reterraform
Copy link
Author

Hello again, can you direct me to where in the code that kmltree control can be modified? if so, I thought I'd try modifying my copy & see If I can get it to work there..

Thanks again and CHEERS in any case!

@balhar-jakub
Copy link
Contributor

I am really sorry, I didn't get to the actual solution. The pandemic lockdowns limits my effectivity more than I thought.

This is the exact file: https://github.com/NASAWorldWind/WebWorldWind/blob/develop/src/formats/kml/controls/KmlTreeVisibility.js

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

No branches or pull requests

3 participants