Waze Map Editor JavaScript SDK
    Preparing search index...

    Class StreetView

    Methods for dealing with Street View.

    Index

    Methods

    • Closes Street View if it is active.

      Returns void

    • Returns boolean

      true if the street view pane is active

    • Opens Street View at the given coordinates. If a panorama is found within the specified radius, Street View will open at that location.

      Parameters

      • args: { lonLat: LonLat; radius?: number }
        • lonLat: LonLat

          Map coordinates in WGS84 format.

        • Optionalradius?: number

          Optional search radius in meters.

      Returns Promise<void>

      InvalidStateError if no Street View panorama is found at the given location.