inject_pydeck_map
Add a dark-styled PyDeck map to a Hex Python cell with configurable layer types and data columns. Customize coordinates, colors, elevation, and auto-run to push the visualization to the app view.
Instructions
Write a styled PyDeck map into a Hex Python cell using the dark map style.
layer_type: ScatterplotLayer | HexagonLayer | H3HexagonLayer | ColumnLayer | ArcLayer | PathLayer | GeoJsonLayer color_col: column with pre-computed [R, G, B] or [R, G, B, A] values. If omitted, uses accent color. elevation_col: column for 3D height (ColumnLayer / HexagonLayer) auto_run: if True, triggers run_and_wait to push to app view
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| radius | No | ||
| cell_id | Yes | ||
| lat_col | Yes | ||
| lon_col | Yes | ||
| auto_run | No | ||
| color_col | No | ||
| layer_type | No | ScatterplotLayer | |
| project_id | Yes | ||
| dataframe_var | Yes | ||
| elevation_col | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |