This commit is contained in:
Dongho Kim
2025-12-17 16:42:23 +09:00
parent 8edb92b25d
commit 4b606e28da
12 changed files with 991 additions and 195 deletions

View File

@@ -573,6 +573,51 @@
0 0 4px rgba(255, 255, 255, 0.9);
}
/* Road type based sizing - larger roads get larger fonts */
.label-street-motorway {
font-size: 13px;
font-weight: 600;
color: #444;
}
.label-street-primary {
font-size: 12px;
font-weight: 600;
color: #555;
}
.label-street-secondary {
font-size: 11px;
font-weight: 500;
color: #5e5e63;
}
.label-street-tertiary {
font-size: 10px;
font-weight: 500;
}
.label-street-residential {
font-size: 9px;
font-weight: 400;
color: #7e7e83;
}
/* One-way direction arrows */
.oneway-arrow {
position: absolute;
font-size: 18px;
font-weight: bold;
color: rgba(100, 100, 100, 0.5);
pointer-events: none;
text-shadow: none;
z-index: 5;
}
[data-theme="dark"] .oneway-arrow {
color: rgba(180, 180, 180, 0.5);
}
/* Apple Maps-style POI labels */
.label-poi {
font-size: 11px;
@@ -1279,7 +1324,7 @@
</style>
<script type="module">
import init from './wasm.js?v=fixed_labels_v6';
import init from './wasm.js?v=fixed_labels_v20';
async function run() {
try {