File tree 4 files changed +18
-8
lines changed
4 files changed +18
-8
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @feltmaps/js-sdk " : minor
3
+ ---
4
+
5
+ Add coordinates to circle
Original file line number Diff line number Diff line change 14
14
15
15
***
16
16
17
- ### radius
18
-
19
- > ** radius** : ` number `
20
-
21
- ***
22
-
23
17
### groupId?
24
18
25
19
> ` optional ` ** groupId** : ` null ` | ` string `
80
74
81
75
***
82
76
77
+ ### radius?
78
+
79
+ > ` optional ` ** radius** : ` number `
80
+
81
+ ***
82
+
83
83
### radiusDisplayAngle?
84
84
85
85
> ` optional ` ** radiusDisplayAngle** : ` number `
Original file line number Diff line number Diff line change 68
68
69
69
***
70
70
71
+ ### coordinates
72
+
73
+ > ** coordinates** : \[ ` number ` , ` number ` ] = ` LngLatTupleSchema `
74
+
75
+ ***
76
+
71
77
### radius
72
78
73
79
> ** radius** : ` number `
Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ export const PolygonCreateSchema = PolygonElementSchema.partial()
146
146
147
147
export const CircleCreateSchema = CircleElementSchema . partial ( )
148
148
. required ( requiredCreateProps )
149
- . required ( { radius : true } )
150
149
. omit ( omitCreateProps ) ;
151
150
152
151
export const MarkerCreateSchema = MarkerElementSchema . partial ( )
@@ -194,7 +193,7 @@ const PathReadSchema = PathElementSchema.omit({ coordinates: true });
194
193
const PolygonReadSchema = PolygonElementSchema . omit ( {
195
194
coordinates : true ,
196
195
} ) ;
197
- const CircleReadSchema = CircleElementSchema . omit ( { coordinates : true } ) ;
196
+ const CircleReadSchema = CircleElementSchema ;
198
197
const MarkerReadSchema = MarkerElementSchema . omit ( { coordinates : true } ) ;
199
198
const HighlighterReadSchema = HighlighterElementSchema . omit ( {
200
199
coordinates : true ,
You can’t perform that action at this time.
0 commit comments