Skip to content

Commit

Permalink
fix(props): update required values for synced props
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Aug 8, 2020
1 parent 29579a2 commit 0a516c6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/map/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default {
},
mapStyle: {
type: [String, Object],
default: undefined,
required: true,
},
hash: {
Expand Down Expand Up @@ -183,7 +184,7 @@ export default {
},
localIdeographFontFamily: {
type: String,
default: null,
default: 'sans-serif',
required: false,
},
transformRequest: {
Expand Down Expand Up @@ -223,6 +224,7 @@ export default {
RTLTextPluginUrl: {
type: String,
default: undefined,
required: false,
},
/**
* Reference(mapbox): https://docs.mapbox.com/mapbox-gl-js/api/map/#map#setlight
Expand All @@ -231,6 +233,7 @@ export default {
light: {
type: Object,
default: undefined,
required: false,
},
/**
* Reference(mapbox): https://docs.mapbox.com/mapbox-gl-js/api/map/#map#showtileboundaries
Expand All @@ -239,6 +242,7 @@ export default {
tileBoundaries: {
type: Boolean,
default: false,
required: false,
},
/**
* Reference(mapbox): https://docs.mapbox.com/mapbox-gl-js/api/map/#map#showcollisionboxes
Expand All @@ -247,6 +251,7 @@ export default {
collisionBoxes: {
type: Boolean,
default: false,
required: false,
},
/**
* Reference(mapbox): https://docs.mapbox.com/mapbox-gl-js/api/map/#map#repaint
Expand All @@ -255,5 +260,6 @@ export default {
repaint: {
type: Boolean,
default: false,
required: false,
},
};

0 comments on commit 0a516c6

Please sign in to comment.