diff --git a/guides/5.STYLING.md b/guides/5.STYLING.md index 08cdf1b..94a1e2b 100644 --- a/guides/5.STYLING.md +++ b/guides/5.STYLING.md @@ -42,7 +42,7 @@ const draw = new TerraDraw({ ``` > [!IMPORTANT] -> Colors in Terra Draw are modelled as 6 digit Hex colors (e.g. #00FFFF). This is to ensure consistency across different mapping libraries. +> Colors in Terra Draw are modelled as 6 digit Hex colors (e.g., #00FFFF). This is to ensure consistency across different mapping libraries. Each Mode has a different set of styles that can be passed to the constructor. @@ -315,7 +315,7 @@ Polygons added to the `TerraDrawRenderMode` are styled using the following prope | `polygonOutlineWidth` | Integer | `2` | The outline width of the polygon | > [!TIP] -> Multiple Render Modes can be added to the Terra Draw instance. This allows you to style indiviual Render Modes differently. +> Multiple Render Modes can be added to the Terra Draw instance. This allows you to style individual Render Modes differently. ## Styling Specific Features @@ -355,7 +355,7 @@ const draw = new TerraDraw({ ], }); -// Ensure the color cache is clead up on deletion of features +// Ensure the color cache is cleaned up on deletion of features draw.on("delete", (ids) => ids.forEach((id) => delete cache[id])); ``` @@ -370,4 +370,4 @@ draw.on("delete", (ids) => ids.forEach((id) => delete cache[id])); 5. [x] Styling 6. [ ] [Events](./6.EVENTS.md) 7. [ ] [Development](./7.DEVELOPMENT.md) -8. [ ] [Examples](./8.EXAMPLES.md) \ No newline at end of file +8. [ ] [Examples](./8.EXAMPLES.md)