Skip to main content

Extruded body layer Fill Extraction configuration

1. Layer Properties module

The "Layer Properties" module is used to adjust the layer data source, data type, display level, etc. For details, please refer to "Background layer Background: 1";

1.1. Set layer attribute parameters

  • Change "Type" to "Fill Extrusion", change "Source Layer", set "Min Zoom", set "Max Zoom";

GUI, Application, Teams description automatically generated

2. "Filter" module

The "Filter Conditions" module supports filter condition selection and expression writing. For details, please refer to "Icon Point Layer Symbol: 2";

2.1. Set filter conditions

GUI, Application, Teams description automatically generated

3. "Drawing Properties" module

The "Drawing Properties" module supports parameter settings such as obtaining data height, changing color, changing transparency, and assigning textures;

The initial interface is as follows:

GUI, Application, Teams description automatically generated

3.1. "Extrusion Opacity" parameter setting

  • "Extrusion Opacity" parameter controls surface data transparency;

GUI, Application, Teams description automatically generated

3.2. "Extrusion color" parameter setting

  • "Extrusion color" parameter, control surface data color;

GUI, Application, Teams description automatically generated

3.3. "Extrusion translate" parameter setting

  • The "Extrusion translate" parameter sets the offset of the surface data in the X\Y axis;

Graphical user interface, application description automatically generated

3.4. "Extrusion translate anchor" parameter setting

  • "Extrusion translate anchor" parameter, if the surface data has a texture set, it can solve the texture seam problem;

GUI, Application, Teams description automatically generated

3.5. "Extrusion pattern" parameter setting

  • The "Extrusion pattern" parameter adds texture to the surface data;

GUI, Application, Teams description automatically generated

3.6. "Extrusion height" parameter setting

  • The "Extrusion height" parameter is used to obtain the data height. Click the 'fx' button and enter '["get", "height"] ' to stretch the building. Figure 1 shows the regular operation, and Figure 2 shows the advanced operation ("height" is the field that records the height in the data. If the height field is not "height", you need to enter ["get", "field name"]). For the data height field name viewing method, refer to "Icon Point Layer Symbol: 2.3";

Graphical user interface, application description automatically generated GUI, Application, Teams description automatically generated

3.7. "Extrusion base" parameter setting

  • "Extrusion base" parameter, clipping data height;

Graphical user interface, application description automatically generated