6.5. 3D data Styles
3D Data Styles are applied to vector layers that need to be created in advance by selecting the appropriate type of NextGIS Web resource (Pic. 6.24.) and uploading objects into it in the ESRI Shapefile or GeoJSON format (Pic. 6.25.).
Vector layer styling is carried out using the 3D style resource (Pic. 6.26.) which is a child of the vector layer resource.
At the first stage of creating a 3D style you must specify its name (Pic. 6.27.).
Permissions, description and metadata are optional settings. The main parameters are set on the 3D style tab.
There are three types of styling for 3D data:
6.5.2. 3D Style
3D style - a display of the layer is similar to a 2D web map.
The following options for styling geometric primitives are available:
You can set constant values or select fields from the vector layer attributes table (
POI - a style selection from preset icons.
Adjustable parameters (Pic. 6.28.):
Limit the number of points that will be rendered on the client with the prioritization
6.5.4. 3D Model
3D Model - styling a vector layer loaded 3D model.
3D model ID - value / field of the layer attributes table, which contains the ID of the 3D model in NextGIS Web (Pic. 6.29.)
Scale - value/field of the layer attribute table, which contains the scale of the model display
Rotate, degrees - value/field of the attribute table of the layer, which contains the rotation angle of the model in degrees (Pic. 6.30.)