WebWorldWind icon indicating copy to clipboard operation
WebWorldWind copied to clipboard

kmlSubstyle balloonStyle display support for kmlFile layer placemarks

Open reterraform opened this issue 5 years ago • 9 comments

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 avatar Oct 18 '20 23:10 reterraform

is this project still active?

Thanks

reterraform avatar Oct 29 '20 23:10 reterraform

@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.

markpet49 avatar Nov 03 '20 16:11 markpet49

@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?

balhar-jakub avatar Jan 12 '21 15:01 balhar-jakub

@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 avatar Jan 12 '21 23:01 reterraform

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!

reterraform avatar Feb 13 '21 22:02 reterraform

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?

balhar-jakub avatar Feb 16 '21 09:02 balhar-jakub

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

CHEERS

reterraform avatar Feb 17 '21 00:02 reterraform

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!

reterraform avatar Apr 20 '21 23:04 reterraform

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

balhar-jakub avatar May 26 '21 12:05 balhar-jakub