Skip to content

Commit 4844586

Browse files
authored
Fix symbology bug with GeoJSON layers added by Python API (#1023)
1 parent 8089757 commit 4844586

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/jupytergis_lab/jupytergis_lab/notebook/gis_document.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@ def add_geojson_layer(
304304
"source": source_id,
305305
"color": color_expr,
306306
"opacity": opacity,
307+
"symbologyState": {
308+
"renderType": "Single Symbol",
309+
"mode": "equal interval",
310+
},
307311
},
308312
"filters": {
309313
"appliedFilters": [

0 commit comments

Comments
 (0)