refactor: extract EncyclopediaProgressCard component and limit map pitch
- Create EncyclopediaProgressCard with dynamic progress color, reuse in encyclopedia and profile pages to unify styling - Add skyColor and maxPitch to AMap 3D view to reduce empty tile area when tilting - Extend AMap type declarations for skyColor, maxPitch, getPitch, getRotation
This commit is contained in:
@@ -409,6 +409,8 @@ onMounted(async () => {
|
||||
mapStyle: 'amap://styles/normal',
|
||||
features: ['bg', 'road', 'building', 'point'],
|
||||
resizeEnable: true,
|
||||
skyColor: '#c8dce8',
|
||||
maxPitch: 70,
|
||||
} as AMap.MapOptions)
|
||||
|
||||
mapInst.addControl(new AMapLib.Scale())
|
||||
|
||||
Reference in New Issue
Block a user