Widgets

PolygonLayer

PolygonLayer

PolygonLayer control. Build it with the polygon_layer helper.

Example

polygon_layer()

Properties

  • draw_labels_last — Sets the draw labels last property.
  • polygon_culling — Sets the polygon culling property.
  • polygon_labels — Sets the polygon labels property.
  • polygons — Sets the polygons property.
  • simplification_tolerance — Sets the simplification tolerance property.
  • use_alternative_rendering — Sets the use alternative rendering property.

Common layout and animation properties

  • data — Arbitrary value you can attach to the control and read back in handlers.
  • key — Stable identity used to preserve state across rebuilds.

Reference

  • Family: materials
  • Widget type: polygonlayer
  • Helpers: polygon_layer, polygonlayer