function destroy() {
	      if (this._pickingMesh) {
	        // TODO: Properly dispose of picking mesh
	        this._pickingMesh = null;
	      }
	
	      this.clearCoordinates();
	      this.clearBufferAttributes();
	
	      // Run common destruction logic from parent
	      _get(Object.getPrototypeOf(PolygonLayer.prototype), 'destroy', this).call(this);
	    }
// TODO: Make sure this is cleaning everything
Make sure this is cleaning everything
Make sure this is cleaning everything
function destroy() {
	      if (this._pickingMesh) {
	        this._pickingMesh = null;
	      }
	      this.clearCoordinates();
	      this.clearBufferAttributes();
	      _get(Object.getPrototypeOf(PolygonLayer.prototype), 'destroy', this).call(this);
	    }
function destroy ( ) { if ( this . _pickingMesh ) { this . _pickingMesh = null ; } this . clearCoordinates ( ) ; this . clearBufferAttributes ( ) ; _get ( Object . getPrototypeOf ( PolygonLayer . prototype ) , 'destroy' , this ) . call ( this ) ; }
TODO: Make sure this is cleaning everything
TODO : Make sure this is cleaning everything
// TODO: Properly dispose of picking mesh // Run common destruction logic from parent