Interface ShareApiInterface

The Social/Share API provides deep link URLs of a user's view, which can be shared.

Hierarchy

  • ShareApiInterface

Methods

  • Generates the URL used for sharing. The URL is different depending on the current view.

    For the panorama view, the URL contains:

    • image
    • longitude and latitude of the current location
    • camera's field of view

    For the point cloud view, the URL contains:

    • parameter to turn on the point cloud view
    • longitude and latitude of the current location
    • longitude, latitude and height of the camera
    • camera's field of view

    For an empty instance, returns the instance base URL.

    Returns string

    The generated share URL.

Generated using TypeDoc