This sample illustrates how to use LuciadRIA's Panorama API. A panorama is a photo with a very wide field-of-view, often even covering the full 360 degrees.
The map shows the Lucerne city mesh and a set of panorama locations along a track near the Lucerne train station. Each panorama location is visualized as a flat hexagon lying on the ground. Hovering a hexagon highlights it in green, the panorama you are viewing is highlighted in yellow.
Click any panorama icon on the map or overview map to show the corresponding panorama. The camera then stays locked at the panorama location: dragging changes the viewing direction and scrolling or pinching adjusts the field-of-view, without ever moving the camera. While the camera moves from one panorama to another, the view does not react to input. When you're inside a panorama, you can click the "Leave Panorama" button at the top of the screen, or press Escape to switch back to the 3D map. You can make 3D measurements both in and outside of panorama mode.
This sample can also be used to quickly inspect your own panoramic services. To do this, click on the button in the bottom bar and fill in the url to your service.
In the sample code, you'll find a number of controllers and animations you can re-use and adapt in your own projects. The usage of the actual RIA Panorama API can be found in view/PanoramaFeaturePainter.ts and LayerFactory.ts.
The default data in this sample is provided by Hexagon GeoCloud.