Variable mapColorsLightDarkConst
mapColorsLightDark: (
{ land, label }: Pick<Required<MapColors>, "land" | "label">,
) => LightDark
Type Declaration
-
- ({ land, label }: Pick<Required<MapColors>, "land" | "label">): LightDark
-
Parameters
- { land, label }: Pick<Required<MapColors>, "land" | "label">
Returns LightDark
Whether map colours make a light or a dark map (dark when labels are lighter than land), to apply them over a style of the same. StylingFoundationsModule.setMapColors keeps the loaded style's shade offsets, which a dark land over
streetLightclamps to black. It tells whatautochose.