Skip to content

Commit c39d839

Browse files
committed
Update mixins to match Leaflet
1 parent ad0fa61 commit c39d839

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

src/mixins/Circle.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ import Path from './Path';
33
export default {
44
mixins: [Path],
55
props: {
6+
fill: {
7+
type: Boolean,
8+
custom: true,
9+
default: true
10+
},
611
radius: {
712
type: Number,
813
default: null

src/mixins/Path.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default {
5252
fill: {
5353
type: Boolean,
5454
custom: true,
55-
default: true
55+
default: false
5656
},
5757
fillColor: {
5858
type: String,

src/mixins/Polygon.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ import Polyline from './Polyline';
22

33
export default {
44
mixins: [Polyline],
5+
props: {
6+
fill: {
7+
type: Boolean,
8+
custom: true,
9+
default: true
10+
}
11+
},
512
mounted () {
613
this.polygonOptions = this.polyLineOptions;
714
},

src/mixins/Polyline.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ export default {
1212
type: Boolean,
1313
custom: true,
1414
default: false
15-
},
16-
fill: {
17-
type: Boolean,
18-
custom: true,
19-
default: false
2015
}
2116
},
2217
data () {

0 commit comments

Comments
 (0)