File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2080,7 +2080,7 @@ export class Rectangle<P = any> extends Polygon<P> {
20802080export function rectangle < P = any > ( latLngBounds : LatLngBoundsExpression , options ?: PolylineOptions ) : Rectangle < P > ;
20812081
20822082export interface CircleMarkerOptions extends PathOptions {
2083- radius : number ;
2083+ radius ? : number | undefined ;
20842084}
20852085
20862086export class CircleMarker < P = any > extends Path {
Original file line number Diff line number Diff line change @@ -1009,17 +1009,16 @@ let circle = new L.Circle(latLng, 10);
10091009circle = new L . Circle ( latLng , { radius : 10 } ) ;
10101010// @ts -expect-error
10111011circle = new L . Circle ( latLng , { radius : "10" } ) ;
1012- // @ts -expect-error
10131012circle = new L . Circle ( latLng , { radius : undefined } ) ;
10141013// @ts -expect-error
10151014circle = new L . Circle ( latLng , { radius : null } ) ;
1016- // @ts -expect-error
10171015circle = new L . Circle ( latLng , { } ) ;
10181016// @ts -expect-error
10191017circle = new L . Circle ( latLng ) ;
10201018
10211019let circleMarker = new L . CircleMarker ( latLng , { radius : 10 } ) . setStyle ( { } ) ;
10221020circleMarker = new L . CircleMarker ( latLng , { radius : 10 } ) . setStyle ( { radius : 10 } ) ;
1021+ circleMarker = new L . CircleMarker ( latLng , { color : "red" } ) ;
10231022// @ts -expect-error
10241023circleMarker = new L . CircleMarker ( latLng , { radius : 10 } ) . setStyle ( ) ;
10251024
You can’t perform that action at this time.
0 commit comments