Hacker News 中文摘要

RSS订阅

六年磨一剑,WatchOS地图终臻完美 -- Six Years Perfecting Maps on WatchOS

文章摘要

作者六年来致力于优化Apple Watch的地图导航体验,最新发布的Pedometer++ 8实现了最佳腕上地图功能,特别适合野外探险时随时查看位置,避免迷路。

文章总结

标题:六年打磨,成就Apple Watch最佳地图体验

作者David Smith在最新发布的Pedometer++ 8中,终于实现了为Apple Watch打造完美地图导航功能的六年夙愿。这位热爱荒野探险的开发者分享了他的设计历程:

【核心需求】 作为户外运动爱好者,Smith发现随时查看腕上地图是避免迷路的最佳方式。自2015年Apple Watch问世起,他就萌生了这个想法,但直到watchOS 6支持SwiftUI后才真正具备开发条件。

【技术演进】 1. 初期尝试(2020年): - 采用服务器生成地图方案 - 每次刷新需往返传输运动数据 - 无法离线使用,仅验证概念可行性

  1. 自定义引擎(2021年):
  • 开发原生SwiftUI地图渲染引擎
  • 支持任意瓦片地图叠加位置信息
  • 解决性能瓶颈实现流畅渲染

【设计迭代】 经历数十版方案探索: - 早期"模态切换"设计(地图/数据分屏) - 尝试底部数据栏等布局 - 最终与设计师Rafa Conde合作确定: • 左上角悬浮数据面板 • 地图作为垂直堆栈顶层 • 点击进入"浏览模式"的交互逻辑

【视觉优化】 配合watchOS 26的Liquid Glass特性: - 委托制图师Andy Allen定制底图 - 增强对比度与色彩饱和度 - 开发深色模式版本 - 优化字体提升可读性

【与MapKit的差异】 选择自主开发的原因: 1. 支持用户自定义配色方案 2. 提供更灵活的动画与覆盖层 3. 在偏远地区显示更详细的地形信息 (附苏格兰某徒步路线对比图)

【成果展示】 最终版本实现了: - 单日徒步200英里的实地验证 - 直观的交互设计 - 与系统深度整合的视觉风格 (包含六年演进过程动图)

后记中作者幽默表示,"委托专业制图师"是他开发过程中最酷的体验之一。这款凝聚六年心血的腕上地图解决方案,现已通过Pedometer++ 8与用户见面。

评论总结

以下是评论内容的总结:

  1. 对开发者David的赞赏
  • 认可开发者多年来的细致工作(评分:无) "As a pedometer++ user, it is amazing the attention to detail David has maintained over the years." "Great evolution story. Also love seeing what can be achieved by stepping outside design lines..."
  1. 对Apple Watch地图功能的批评
  • 批评Apple Watch缺乏专业徒步和地形图功能(评分:无) "The fact that there is no 1st party Apple made hiking and topography map...is such a failure" "Apple Maps on WatchOS is pretty good but...the 'are you working out?' screen takes over"
  1. 关于地图技术方案的讨论
  • 静态地图瓦片方案 vs 动态渲染(评分:无) "it seems he hired a cartographer to render essentially a set of huge, nice-looking, custom map images" "Static tiles on a watch is the right call. Tried dynamic rendering...got eaten by GC pauses"
  1. 用户界面体验问题
  • 对Apple Watch运动提示界面的不满(评分:无) "the 'are you working out?' screen takes over and I can't see the maps without stopping" "Surely that screen should turn into a notification or silently record after some time"
  1. 个人情感分享
  • 关于苏格兰Hidden Valley的个人回忆(评分:无) "Hidden Valley at Glen Coe...one of my favourite short walks in Scotland" "The name and outline of the cottage structure can actually be seen at the top of the map"