Skip to content

Commit

Permalink
better fade in
Browse files Browse the repository at this point in the history
  • Loading branch information
rami-dv committed May 20, 2024
1 parent 7aa1462 commit dd173ae
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/components/ConferenceMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ const getMapStyle = ({
0,
11.5,
0.6,
11.5,
12.5,
0,
],
},
Expand Down Expand Up @@ -736,8 +736,20 @@ const getMapStyle = ({
minzoom: 11,
maxzoom: 13.5,
layout: {
"text-offset": [0, 0.4],
"text-font": ["literal", ["Noto Sans SemiCondensed Regular"]],
"text-field": "Belém",
"text-field": [
"format",
"Belém",
{
"font-scale": 1,
"text-font": ["literal", ["Noto Sans SemiCondensed Regular"]],
} as unknown as ExpressionSpecification,
"\n",
{ "font-scale": 0.1 },
"FOSS4G 2024",
{ "font-scale": 0.4 },
],
"text-size": 40,
"text-ignore-placement": true,
"text-allow-overlap": true,
Expand Down

0 comments on commit dd173ae

Please sign in to comment.