diff --git a/src/index.js b/src/index.js index a7798a75..1c245e92 100644 --- a/src/index.js +++ b/src/index.js @@ -152,7 +152,8 @@ export class Map extends React.Component { }); Object.keys(mapConfig).forEach((key) => { - if (!mapConfig[key]) { + // Allow to configure mapConfig with 'false' + if (mapConfig[key] == null) { delete mapConfig[key]; } });