Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const getWorldMapProjection = createSelector([getWidth, getScale], (width, scale) =>
projections(
width || 800,
width ? Math.round(width * WORLD_MAP_ASPECT_RATIO) : 448,
{
scale: scale || 140,
rotation: [0, 0, 0]
},
'robinson'
)
);