Skip to content

Shape

shapeThe method is used to specify the type of graphics drawn on the surface layer, such as filled graphics, filled lines, extruded aggregates, etc.

shape(‘fill’)

shapeforfillGeometry layers are used to draw plane geometry.

layer.shape('fill');

shape(‘extrude’)

shapeforextrudeGeometry layers are used to draw 3D geometry.

layer.shape('extrude');

extrusion

An upgraded version of the extrude layer, supporting extrusionBase (base height) data mapping

layer.shape('extrusion');

shape(‘water’)

shapeforwaterGeometry layers are used to draw flat water bodies.

layer.shape('water');

shape(‘ocean’)

shapeforoceanGeometry layers are used to draw flat ocean water bodies.

layer.shape('ocean');

shape(‘line’)

shapeforlineGeometry layers are used to draw lines.

layer.shape('line');

shape(‘point_fill’)

shapeforpoint_fillGeometry layers are used to draw fill points.

layer.shape('point_fill');

shape(‘point_image’)

shapeforpoint_imageGeometry layers are used to draw point icons.

layer.shape('point_image');

shape(‘point_extrude’)

shapeforpoint_extrudeThe geometry layer is used to draw the columns.

layer.shape('point_extrude');

shape(‘text’)

shapefortextGeometry layers are used to draw text.

layer.shape('text');
© Copyright 2026 Ant Group Co., Ltd..备案号:京ICP备15032932号-38
Site search
Documentation and examplesType to start searching

Search documentation, APIs, and examples

↑↓Select↵OpenEscClose