diff --git a/docs/adding-new-fields.md b/docs/adding-new-fields.md index 1995ad59..acd5c77d 100644 --- a/docs/adding-new-fields.md +++ b/docs/adding-new-fields.md @@ -27,9 +27,9 @@ The second section would be required when adding a new category or when changing All steps from the previous section need to be carried out first. #### In tileserver -1. Add a SQL query for calculating the value to be visualised to `BUILDING_LAYER_DEFINITIONS` in `app/tiles/dataDefinition.ts` +1. Add a SQL query for calculating the value to be visualised to `BUILDING_LAYER_DEFINITIONS` in `app/src/tiles/dataDefinition.ts` 2. Add Mapnik rendering style in `app/map_styles/polygon.xml` #### In frontend 1. Update the category to field name mapping in the `tilesetByCat` object inside the `ColouringMap` React component (`map.tsx` file) -2. Add an entry for the field to the `LEGEND_CONFIG` object in `legend.tsx` file \ No newline at end of file +2. Add an entry for the field to the `LEGEND_CONFIG` object in `legend.tsx` file