From 568bc703153ed0d2a4c8a19a0744dceffbdea850 Mon Sep 17 00:00:00 2001 From: Maciej Ziarkowski Date: Thu, 19 Mar 2020 12:29:41 +0000 Subject: [PATCH] Correct path to file in adding-new-fields doc --- docs/adding-new-fields.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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