From 0207e8e264f490937a5e220c783ae27130bb0163 Mon Sep 17 00:00:00 2001 From: John-George Sample Date: Fri, 13 Dec 2024 17:07:08 -0500 Subject: [PATCH] Docs: Include `properties` in FeatureCollection example (#2425) * inlude `properties` in example for TS --------- Co-authored-by: Chris Gervang --- docs/get-started/adding-custom-data.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/get-started/adding-custom-data.md b/docs/get-started/adding-custom-data.md index 3d8ae39ea..5d1adeef7 100644 --- a/docs/get-started/adding-custom-data.md +++ b/docs/get-started/adding-custom-data.md @@ -13,7 +13,14 @@ import type {FeatureCollection} from 'geojson'; const geojson: FeatureCollection = { type: 'FeatureCollection', features: [ - {type: 'Feature', geometry: {type: 'Point', coordinates: [-122.4, 37.8]}} + { + type: 'Feature', + geometry: { + type: 'Point', + coordinates: [-122.4, 37.8] + }, + properties: {title: '915 Front Street, San Francisco, California'} + } ] };