Closed mateoclarke closed 5 years ago
@mateoclarke with the API switch to census tracts, polygons are now using GEOID10
instead of cell_id
as their unique identifier.
So this block of code needs to be updated:
docklessMap.map.setFilter("feature_layer_highlight", [
"==",
"cell_id", # should be GEOID10
e.features[0].properties.cell_id
]);
....or should we update the API to once again return cell_id
?
@johnclary Yeah, that makes sense. We are planning to go back to having hexbins at one point in the near future, right? We just need to play around with sizing? If so, I think we should update the API side and leave the JS code as is.
Agreed. Here's that issue: https://github.com/cityofaustin/atd-dockless-api/issues/52
@mateoclarke API has been updated. this should be resolved.
Yup!
With the new json layer of census tracts coming from the dockless-api instead of hexbins, the color highlighting feature is now broken...