Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
key: 'enableGraticule',
scopes: '*',
description: 'Enable meridians and parallels, useful for showing projection distortion.',
type: '{boolean}',
required: false,
default: GeoMapDefaultProps.enableGraticule,
controlType: 'switch',
controlGroup: 'Graticule',
},
{
key: 'graticuleLineWidth',
scopes: '*',
description: 'Control meridians and parallel lines width.',
type: '{number}',
required: false,
default: GeoMapDefaultProps.graticuleLineWidth,
controlType: 'range',
controlGroup: 'Graticule',
controlOptions: {
unit: 'px',
min: 0,
max: 10,
step: 0.5,
},
},
{
key: 'graticuleLineColor',
scopes: '*',
description: 'Control meridians and parallel lines color.',
type: '{string}',
required: false,
default: GeoMapDefaultProps.graticuleLineColor,
},
{
key: 'enableGraticule',
help: 'Enable meridians and parallels, useful for showing projection distortion.',
type: 'boolean',
required: false,
defaultValue: GeoMapDefaultProps.enableGraticule,
controlType: 'switch',
group: 'Graticule',
},
{
key: 'graticuleLineWidth',
help: 'Control meridians and parallel lines width.',
type: 'number',
required: false,
defaultValue: GeoMapDefaultProps.graticuleLineWidth,
controlType: 'lineWidth',
group: 'Graticule',
controlOptions: {
step: 0.5,
},
},
{
key: 'graticuleLineColor',
help: 'Control meridians and parallel lines color.',
type: 'string',
required: false,
defaultValue: GeoMapDefaultProps.graticuleLineColor,
controlType: 'colorPicker',
group: 'Graticule',
},
...defsProperties('Style', ['svg']),