# Class: FlightVisualizer

## vcs.vcm.util.flight.FlightVisualizer

### Members

#### activeInstance{vcs.vcm.util.flight.FlightInstance}

  The instance currently being visualized

### Methods

#### vcs.vcm.util.flight.FlightVisualizer.getInstance(){vcs.vcm.util.flight.FlightVisualizer}

#### dispose()

  disposes of this instance, removes all layers belonging to this instance

#### hide()

  hides the cameras and the fligth path

#### visualizeFlight(flight){Promise}

  visualizes the given flight

  Name | Type | Description
  --- | --- | ---
  `flight` | vcs.vcm.util.flight.FlightInstance |

#### zoomToExtent()

  calculates the Extent of the flightPath and zooms camera view accordingly