Polygon layer can display GeoJSON features. GeoJSON supports the following geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon.

kepler.gl supports all the GeoJSON types above. You can pass in either a single Feature or a FeatureCollection

GeoJSON layer
Polygon layer
Polygon geoJSON layer
Grid layer

A path GeoJSON layer can display data like trip routes or contours. Stroke color can be set with a numerical field.

A polygon GeoJSON layer is essentially a choropleth layer and works best for rendering geofences. Fill color or height can be set with a numerical field. For example, it can display population by census tracts.

To add a polygon layer, your dataset must contain geometry data.

Back to table of contents