Skip to content

Commit

Permalink
fix(map): fix fonts on drawing layer
Browse files Browse the repository at this point in the history
  • Loading branch information
nimdanitro committed Feb 15, 2024
1 parent 1111007 commit 9e1c110
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions ui/src/views/map/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export const drawStyle = [
],
'layout': {
'text-field': ["coalesce", ["get", "user_name"], ""],
'text-font': ["Frutiger Neue Condensed Bold"],
'text-font': ["B612 Bold"],
'text-anchor': 'center',
'text-offset': [0, 0],
'text-ignore-placement': true,
Expand All @@ -306,7 +306,7 @@ export const drawStyle = [
],
'layout': {
'text-field': ["coalesce", ["get", "user_name"], ""],
'text-font': ["Frutiger Neue Condensed Bold"],
'text-font': ["B612 Bold"],
'text-anchor': 'right',
'text-offset': [2.25, 0.25],
'text-ignore-placement': true,
Expand All @@ -328,7 +328,7 @@ export const drawStyle = [
],
'layout': {
'text-field': ["coalesce", ["get", "user_name"], ""],
'text-font': ["Frutiger Neue Condensed Bold"],
'text-font': ["B612 Bold"],
'text-anchor': 'center',
'text-offset': [0, 1.75],
'text-ignore-placement': true,
Expand All @@ -349,7 +349,7 @@ export const drawStyle = [
],
'layout': {
'text-field': ["coalesce", ["get", "user_name"], ""],
'text-font': ["Frutiger Neue Condensed Bold"],
'text-font': ["B612 Bold"],
'text-size': ['interpolate', ['linear'], ['zoom'], 12, 2, 17, 20],
'symbol-placement': 'line',
'text-offset': [0, 0.5],
Expand All @@ -372,7 +372,7 @@ export const drawStyle = [
],
'layout': {
'text-field': ["coalesce", ["get", "user_name"], ""],
'text-font': ["Frutiger Neue Condensed Bold"],
'text-font': ["B612 Bold"],
'text-size': ['interpolate', ['linear'], ['zoom'], 12, 2, 17, 20],
'symbol-placement': 'line-center',
'text-offset': [0, 1],
Expand Down Expand Up @@ -734,7 +734,7 @@ export const displayStyle = [
],
'layout': {
'text-field': ["coalesce", ["get", "name"], ""],
'text-font': ["Frutiger Neue Condensed Bold"],
'text-font': ["B612 Bold"],
'text-anchor': 'center',
'text-offset': [0, 0],
'text-ignore-placement': true,
Expand All @@ -757,7 +757,7 @@ export const displayStyle = [
],
'layout': {
'text-field': ["coalesce", ["get", "name"], ""],
'text-font': ["Frutiger Neue Condensed Bold"],
'text-font': ["B612 Bold"],
'text-anchor': 'right',
'text-offset': [2.25, 0.25],
'text-ignore-placement': true,
Expand All @@ -779,7 +779,7 @@ export const displayStyle = [
],
'layout': {
'text-field': ["coalesce", ["get", "name"], ""],
'text-font': ["Frutiger Neue Condensed Bold"],
'text-font': ["B612 Bold"],
'text-anchor': 'center',
'text-offset': [0, 1.75],
'text-ignore-placement': true,
Expand All @@ -800,7 +800,7 @@ export const displayStyle = [
],
'layout': {
'text-field': ["coalesce", ["get", "name"], ""],
'text-font': ["Frutiger Neue Condensed Bold"],
'text-font': ["B612 Bold"],
'text-size': ['interpolate', ['linear'], ['zoom'], 12, 2, 17, 20],
'symbol-placement': 'line',
'text-offset': [0, 0.5],
Expand All @@ -823,7 +823,7 @@ export const displayStyle = [
],
'layout': {
'text-field': ["coalesce", ["get", "name"], ""],
'text-font': ["Frutiger Neue Condensed Bold"],
'text-font': ["B612 Bold"],
'text-size': ['interpolate', ['linear'], ['zoom'], 12, 2, 17, 20],
'symbol-placement': 'line-center',
'text-offset': [0, 1],
Expand Down

0 comments on commit 9e1c110

Please sign in to comment.