Closed davidwilby closed 8 months ago
I noticed that the members map is not displaying on the site. JS console shows
Uncaught SyntaxError: JSON.parse: unexpected character at line 1185 column 3 of the JSON data
I served the site locally and downloaded the all_members_by_location.geojson file (from https://feeds.carpentries.org/all_members_by_location.geojson), which is slightly malformed.
all_members_by_location.geojson
The last record (below) has a comma.
lines 1172-1182
{ "type": "Feature", "geometry": { "type": "Point", "coordinates":[-112.0645841529991,33.523942893234064] }, "properties": { "marker-color": "#2b3990", "details": ["Arizona State University"] } },
Locally, removing the comma eliminates the error.
This was due to an error in our feeds and has now been fixed.
I noticed that the members map is not displaying on the site. JS console shows
I served the site locally and downloaded the
all_members_by_location.geojson
file (from https://feeds.carpentries.org/all_members_by_location.geojson), which is slightly malformed.The last record (below) has a comma.
lines 1172-1182
Locally, removing the comma eliminates the error.