7.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. 7.31.).
The Resource tab indicates the name of the future 3D scene (Pic. 7.32.).
The ‘3D scene’ tab allows you to select the type of data display on the 3D scene - a globe or a plane (Pic. 7.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. 7.34.).
There is also an option - to set the extent by the layer loaded in Web GIS (Pic. 7.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. 7.37.).
The Visible option means that when a 3D scene is opened this element will be displayed by default.
Various basemaps can be added to the 3D scene. The addition takes place using the ‘Add’ button (Pic. 7.38.) and specifies basemap resource NextGIS Web (Pic. 7.39.).
To upload a basemap onto a 3D scene, you must first create it in NextGIS Web. For this there is a resource Basemap (Pic. 7.40.).
You can specify the URL or find the one you need in the search In the Settings, if there is one in QuickMapServices (Pic. 7.41.) directory.
The Terrain resource of the previously created TMS layer is added to the 3D scene on the Terrain tab (ngw3D_terrain_3D_scen_en
).
Adding occurs through the standard addition of a resource in the corresponding window (ngw3D_select_terrain_3D_scen
).
Permissions, description and metadata are optional.