src/layer/TectonicPlatesLayer.js
function (shapeAttributes) {
        RenderableLayer.call(this, "Tectonic Plates");

        if (shapeAttributes) {
            this._attributes = shapeAttributes;
        } else {
            this._attributes = new ShapeAttributes(null);
            this._attributes.drawInterior = false;
            this._attributes.drawOutline = true;
            this._attributes.outlineColor = Color.RED;
        }

        this.loadPlateData();
    }
function (shapeAttributes) {
        RenderableLayer.call(this, "Tectonic Plates");

        if (shapeAttributes) {
            this._attributes = shapeAttributes;
        } else {
            this._attributes = new ShapeAttributes(null);
            this._attributes.drawInterior = false;
            this._attributes.drawOutline = true;
            this._attributes.outlineColor = Color.RED;
        }

        this.loadPlateData();
    }
function ( shapeAttributes ) { RenderableLayer . call ( this , "Tectonic Plates" ) ; if ( shapeAttributes ) { this . _attributes = shapeAttributes ; } else { this . _attributes = new ShapeAttributes ( null ) ; this . _attributes . drawInterior = false ; this . _attributes . drawOutline = true ; this . _attributes . outlineColor = Color . RED ; } this . loadPlateData ( ) ; }
Constructs a layer showing the Earth's tectonic plates.
@alias TectonicPlatesLayer
@constructor
@classdesc Provides a layer showing the Earth's tectonic plates. The plates are drawn as
[SurfacePolygons]{@link SurfacePolygon}.
@param {ShapeAttributes} shapeAttributes The attributes to use when drawing the plates.
May be null or undefined, in which case the shapes are drawn using default attributes.
The default attributes draw only the outlines of the plates, in a solid color.
@augments RenderableLayer
Constructs a layer showing the Earth s tectonic plates .