LeafletGeomVisualizer

LeafletGeomVisualizer

new LeafletGeomVisualizer(leafletScene, entityCollection)

Source:

A Visualizer which maps Entity#point to Leaflet primitives.

Parameters:
Name Type Description
leafletScene LeafletScene

The Leaflet scene that the the primitives will be rendered in.

entityCollection EntityCollection

The entityCollection to visualize.

Methods

destroy()

Source:

Removes and destroys all primitives created by this instance.

getLatLngBounds() → {LatLngBounds}

Source:

Computes the rectangular bounds which encloses the collection of entities to be visualized.

Returns:

The computed bounds.

Type
LatLngBounds

isDestroyed() → {Boolean}

Source:

Returns true if this object was destroyed; otherwise, false.

Returns:

True if this object was destroyed; otherwise, false.

Type
Boolean

update(time) → {Boolean}

Source:

Updates the primitives created by this visualizer to match their Entity counterpart at the given time.

Parameters:
Name Type Description
time JulianDate

The time to update to.

Returns:

This function always returns true.

Type
Boolean