AppleHIG地图

AyushRajSinghParihar2026-10-28查看 1757复制 653

在设计或审查交互式地图、注释和叠加、选定地点卡、室内地板、法律归属或观看地图快照时使用。

Download (.md)

📘如何使用这个技能

  1. 1
    复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
  2. 2
    打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
  3. 3
    粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
  4. 4
    直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景

💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。

SKILL.md2776 chars
---
name: apple-hig-maps
description: Use when designing or reviewing interactive maps, annotations and overlays, selected-place cards, indoor floors, legal attribution, or Watch map snapshots.
---

# Keep geographic context visible while revealing useful detail

Read [Maps](../../references/maps.md). Inspect the map task, region, annotations, overlays, cards, platform/window, and requested design/review/adaptation. Preserve the existing map stack. Establish which geometry and interactions are actually supplied; do not invent routes, location accuracy, or current place details.

Choose ordinary saturated map emphasis or muted geography for rich custom overlays. Preserve pan/zoom/rotation and distinguish selected features. Cluster nearby points until zoom can separate them. Place custom overlays at the appropriate level so they do not erase necessary map labels/detail. Keep Apple logo/legal links visible and stable with the guide's spacing/size exceptions, including the lowest resting position of movable cards.

Choose place-card presentation by available space and needed detail. Keep the selected location visible, avoid duplicating existing details, and test small/resized windows. A card opened outside a map must include a map. Use a clear place-name/address/details affordance rather than an unexplained generic action.

For indoor maps, disclose detail with zoom, label floors through a concise picker, combine color with icons for services, and retain surrounding streets/transit. Bound panning so the venue remains partly visible and provide useful routing/handoff. On Watch, use a static snapshot that opens Maps, with at most five annotations and the smallest region covering important points; do not promise full interactive map controls there.

**Before → decision → after:** A campus locator overlays opaque building labels, hides attribution behind a draggable card, and lets indoor panning lose the venue entirely. Decision: details must preserve context and legal information. After, coherent annotations cluster, the selected-building card leaves its location visible, attribution sits above its resting edge, and indoor panning retains campus context with a clear floor picker.

Deliver corrected map/card/overlay states or implementation. Fail if expected gestures are blocked, selection disappears beneath detail, required attribution is obscured, or a Watch snapshot requires scrolling. Actual map data freshness, routing, native cards, and location behavior need service/device tests; static review cannot verify them.

Use [Color](../../../apple-hig-foundations/.topics/apple-hig-color/SKILL.md) for overlays and [Privacy](../../../apple-hig-foundations/.topics/apple-hig-privacy/SKILL.md) if the task requests personal location access.
来源:skillsdirectory

评论0

登录后参与评论

还没有评论,来抢沙发吧