Skip to content

Commit

Permalink
Merge pull request #986 from ZeLonewolf/zlw-font-load-fix-bare
Browse files Browse the repository at this point in the history
Add font loading to bare_map.html
  • Loading branch information
ZeLonewolf authored Oct 30, 2023
2 parents 4d5de90 + 6d2c385 commit 2b7f7f2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/bare_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<title>OpenStreetMap Americana</title>
<link rel="preconnect" href="https://osm-americana.github.io" />
<link href="fonts.css" rel="stylesheet" />
<meta
name="viewport"
content="initial-scale=1,maximum-scale=1,user-scalable=no"
Expand All @@ -25,6 +27,13 @@
</head>

<body>
<p style="
font-family: 'Noto Sans Condensed';
font-weight: 500;
visibility: hidden;
">
Invisible text so the font will load early
</p>
<div id="map"></div>
</body>
</html>

0 comments on commit 2b7f7f2

Please sign in to comment.