Skip to content

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

@benhunterco

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions