English

FAQ: Can URL parameters be applied to Scene Viewer to specify the center location, extent, and zoom level?

Question

Can URL parameters be applied to Scene Viewer to specify the center location, extent, and zoom level?

Answer

Although URL parameters can be added in Map Viewer to specify the center location, extent, and zoom level, the same parameters cannot be applied to Scene Viewer to obtain the same result. Adding URL parameters at the end of URLs of web scenes does not change the center location, extent, and zoom level of the scene. However, modifying the &viewpoint=cam parameter of a web scene URL can specify the center location, extent, and zoom level in the web scene.

Use one of the following methods to specify the center location, extent, and zoom level of a web scene:

Share the Short Link to other websites

  1. In ArcGIS Online, open the web scene in Scene Viewer.
  2. Pan and zoom the map to the preferred center location, extent, and zoom level.
  3. Click the Share button This is the Share button. to open the Share window.
  4. Share the short link.

    This is the Short Link.
     
    Clicking the short link opens Scene Viewer, which preserves the preferred center location, extent, and zoom level that was previously configured. The URL highlighted in the image below specifies the &viewpoint=cam parameter that stores information of the center location, zoom level, rotation, and pan value.

    This is the scene viewer.

Modify the '&viewpoint=cam' parameter based on the desired center location and zoom level
  1. In ArcGIS Online, click the Share button This is the Share button. to open the Share window.
  2. Uncheck the Short Link check box.
  3. Copy and paste the link in a text editor. For example, Notepad.

    This is the long link from the Share window.
     
  4. Modify the &viewpoint=cam parameter of the link by changing the Longitude, Latitude, Zoom level, Rotation, and Pan values. These attributes are listed in the long link in the following order: &viewpoint=cam: Longitude, Latitude, Zoom level, Rotation value, and Pan value.
  5. Share the modified link.

Related Information