update map

This commit is contained in:
bridge
2025-12-03 22:41:58 +08:00
parent 9296cdde79
commit 06e43f2add
3 changed files with 8 additions and 8 deletions

BIN
assets/screenshot2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 KiB

View File

@@ -83,8 +83,8 @@ function getTexture() {
function getScale() {
const tex = getTexture()
if (!tex) return 1
// Scale up: 3.0x tile size
return (props.tileSize * 3.0) / Math.max(tex.width, tex.height)
// Scale up: 3.5x tile size
return (props.tileSize * 3.5) / Math.max(tex.width, tex.height)
}
const drawFallback = (g: Graphics) => {
@@ -96,10 +96,10 @@ const drawFallback = (g: Graphics) => {
const nameStyle = {
fontFamily: '"Microsoft YaHei", sans-serif',
fontSize: 42,
fontSize: 50,
fontWeight: 'bold',
fill: '#ffffff',
stroke: { color: '#000000', width: 3.5 },
stroke: { color: '#000000', width: 4 },
align: 'center',
dropShadow: {
color: '#000000',

View File

@@ -165,15 +165,15 @@ function getRegionStyle(type: string) {
}
const style = {
fontFamily: '"Microsoft YaHei", sans-serif',
fontSize: type === 'sect' ? 85 : 100,
fontSize: type === 'sect' ? 60 : 72,
fill: type === 'sect' ? '#ffcc00' : (type === 'city' ? '#ccffcc' : '#ffffff'),
stroke: { color: '#000000', width: 7, join: 'round' },
stroke: { color: '#000000', width: 5, join: 'round' },
align: 'center',
dropShadow: {
color: '#000000',
blur: 4,
blur: 3,
angle: Math.PI / 6,
distance: 4,
distance: 3,
alpha: 0.8
}
}