outlineStippleFactor and outlineStipplePattern do not work when used as attributes for a WorldWind.Path object.

#898 · open · 0 comments

View on GitHub ↗

benhunterco

Here is the code that I would expect to draw a path with a dotted line using the stipple parameters. ``` var orbitPathArray = <some positions> var orbitLayer = <a layer> var pathAttributes= new WorldWind.ShapeAttributes(null) pathAttributes.outlineStippleFactor = 1; pathAttributes.outlineStipplePattern= 0xF001; pathAttributes.outlineColor=WorldWind.Color.WHITE; pathAttributes.drawInterior=false; var orbitPath= new WorldWind.Path(orbitPathArray, pathAttributes); orbitPath.altitudeMode = WorldWind.RELATIVE_TO_GROUND; orbitPath.useSurfaceShapeFor2D=true; orbitLayer.addRenderable(orbitPath); ``` The path renders a white path with the indicated positions, but no dotted-ness is present. I have tried a variety of different stipple patterns and factors but nothing changes the path's appearance. Looking at the source, it seems like this might not yet be implemented.

Comments