The NASA WorldWind Javascript SDK (WebWW) includes the library and examples for creating geo-browser web applications and for embedding a 3D globe in HTML5 web pages.
898
stars
384
forks
source link
KML LabelStyle tag with scale 0 does not impact label. #849
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
copy the attached kml file with content below and name it test.kml place it in example/data folder
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)]);
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
Expected behavior: label should not be visible
Actual behavior: label is visible
Reproduces how often: 100%
test.zip