79481589

Date: 2025-03-03 16:45:28
Score: 1
Natty:
Report link

Clustering is meant to be used on point features. You can't use it directly on other geojson types (lines, polygons etc..)

I would rethink what you are trying to accomplish. If you are just trying to show a count of routes available, in each group, you can retrieve them and put them into a popup or render them into a sidebar.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Andrew-Sepic