Skip to content

Commit d4ef70f

Browse files
committed
docs(changeset): Add coordinates to circle
1 parent 7c4ef6a commit d4ef70f

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.changeset/small-buckets-turn.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@feltmaps/js-sdk": minor
3+
---
4+
5+
Add coordinates to circle

docs/Elements/CircleElementRead.md

+6
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@
6868
6969
***
7070

71+
## coordinates
72+
73+
> **coordinates**: \[`number`, `number`] = `LngLatTupleSchema`
74+
75+
***
76+
7177
## radius
7278

7379
> **radius**: `number`

src/modules/elements/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const PathReadSchema = PathElementSchema.omit({ coordinates: true });
194194
const PolygonReadSchema = PolygonElementSchema.omit({
195195
coordinates: true,
196196
});
197-
const CircleReadSchema = CircleElementSchema.omit({ coordinates: true });
197+
const CircleReadSchema = CircleElementSchema;
198198
const MarkerReadSchema = MarkerElementSchema.omit({ coordinates: true });
199199
const HighlighterReadSchema = HighlighterElementSchema.omit({
200200
coordinates: true,

0 commit comments

Comments
 (0)