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

KML LabelStyle tag with scale 0 does not impact label. #849

Open
fxa76 opened this issue Feb 12, 2021 · 0 comments
Open

KML LabelStyle tag with scale 0 does not impact label. #849

fxa76 opened this issue Feb 12, 2021 · 0 comments

Comments

@fxa76
Copy link

fxa76 commented Feb 12, 2021

Description

I am using KML LineString to create a flight path between 2 cities (ex attached: Paris-Shanghai), the line is created as expected but a label appears way off the line (see attached picture) and it seems there is no way of removing it (or placing it correctly). (just having the name tag empty still leaves a thin red line visible)

I tried using KML LabelStyle tag with scale 0 but it does not impact label.

Steps to Reproduce

  1. copy the attached kml file with content below and name it test.kml place it in example/data folder
  2. change example/KML.js top point to the file test.kml (change line 60 with this one)
    var kmlFilePromise = new WorldWind.KmlFile('data/test.kml', [new WorldWind.KmlTreeVisibility('treeControls', wwd)]);
  3. Navigate to example/KML.html

Expected behavior: label should not be visible

Actual behavior: label is visible

Reproduces how often: 100%

test.zip
FlightPathCapture

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

1 participant