6.6. Creation of 3D scenes
Three-dimensional objects in NextGIS Web can be placed on a 3D scene - an analogue of a web map for three-dimensional objects. To create it, go to the required NextGIS Web directory and select the creation of a 3D scene resource (Pic. 6.31.).
The Resource tab indicates the name of the future 3D scene (Pic. 6.32.).
The ‘3D scene’ tab allows you to select the type of data display on the 3D scene - a globe or a plane (Pic. 6.33.). It is also possible to connect Yandex Panoramas and Google Street View data by specifying the appropriate API keys. Also you can specify a quality value that affects the performance of a 3D scene.
The ‘Extent’ window sets the area of coverage of the 3D scene in degrees (Pic. 6.34.).
There is also an option - to set the extent by the layer loaded in Web GIS (Pic. 6.35.). Clicking on the folder icon with a plus opens a window where you can select the layer on which you want to specify the extent of the 3D scene.
The ‘Items’ tab allows you to add and remove items of various NextGIS Web resources on/from a 3D scene - for example, 3D styles and 3D tilesets (Fig. 38), as well as form them into various groups.
The addition takes place after you click ‘Add Item’, resulting in an open choice NextGIS Web resource box (Pic. 6.37.).
The Visible option means that when a 3D scene is opened this element will be displayed by default.
To upload a basemap onto a 3D scene, you must first create it in NextGIS Web. For this there is a resource Basemap (Pic. 6.40.).
The Terrain resource of the previously created TMS layer is added to the 3D scene on the Terrain tab (
Adding occurs through the standard addition of a resource in the corresponding window (
Permissions, description and metadata are optional.