File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
python/jupyter_leaflet/src/layers Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ export class LeafletCircleView extends LeafletCircleMarkerView {
22
22
obj : Circle ;
23
23
24
24
create_obj ( ) {
25
- this . obj = L . circle ( this . model . get ( 'location' ) , this . get_options ( ) ) ;
25
+ this . obj = L . circle (
26
+ this . model . get ( 'location' ) ,
27
+ this . get_options ( ) as L . CircleOptions
28
+ ) ;
26
29
}
27
30
28
31
model_events ( ) {
Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ export class LeafletCircleMarkerView extends LeafletPathView {
22
22
obj : CircleMarker ;
23
23
24
24
create_obj ( ) {
25
- this . obj = L . circleMarker ( this . model . get ( 'location' ) , this . get_options ( ) ) ;
25
+ this . obj = L . circleMarker (
26
+ this . model . get ( 'location' ) ,
27
+ this . get_options ( ) as L . CircleMarkerOptions
28
+ ) ;
26
29
}
27
30
28
31
model_events ( ) {
You can’t perform that action at this time.
0 commit comments