GeoJSON layers can display either paths or polygons.. For example, a path GeoJSON layer can display data like trip routes. A polygon GeoJSON layer is essentially a choropleth layer and works best for rendering geofences. To add a GeoJSON layer, your dataset must contain geometry data.