Class: PanoramaEvent

bu. PanoramaEvent

Events emitted as panorama events are instances of this type. If a panorama has been found then a image value is set; if no panorama has been found then a coordinate of the clicked point is set.


new PanoramaEvent(type, image, coord)

Parameters:
Name Type Description
type string

Event type.

image bu.PanoramaMetadata

Panorama metadata.

coord bu.Coordinate

Coordinate where the panorama was searched. This coordinate is always in WGS84 LonLat.

Source:
bu/events.js

Extends

Members


coordinate :bu.Coordinate

The coordinate where the panorama was searched.

Type:
Source:
bu/events.js

<nullable> image :bu.PanoramaMetadata

The metadata of the panorama. It can be null if no panorama was found.

Type:
Source:
bu/events.js