Mobile Travel Route Map
Paste the following prompt into your AI chat to install this skill:
Follow https://skillhub.cn/install/skillhub.md to install @user_ae76a857/travel-map-mobile.
About this skill
Problem
Text-based travel itineraries are hard to read on a mobile browser: route branches, transport nodes, stay locations, and sight order rarely form a clear spatial picture. Dropping raw coordinates or static images is not enough when a reader needs route switching, filtering, and POI details. This skill focuses on converting an existing plan into an interactive mobile map, not on writing the plan itself.
How It Works
- It expects the user to provide the destination, schedule, attraction list, route structure, and an AMap
API Key. - It resolves attraction names into
GCJ-02coordinates using AMap POI search and organizes them into renderable data. - It generates a single static map image covering the intended area, embeds it as
Base64, and usesCSS scalefor zoom so panning does not expose blank regions. - It adds map markers, route toggles, category filters, bottom attraction panels, detail popups, zoom controls, and touch-friendly layout.
- It outputs one HTML file with all styles and scripts inlined, targeting mobile viewports from
375pxto768px, safe areas, and offline opening.
Boundaries
It does not create travel advice, and the final HTML does not need runtime API calls. The API Key is used only during generation and should not be embedded in the output. If attraction names are missing, route definitions are incomplete, or AMap lookup fails, the user must supply better text details or manual coordinates.
Use Cases
- Turn multi-day attractions, transport, and lodging into a mobile route map.
- Resolve attraction coordinates via AMap POI and output an offline single-file HTML map.
- Group attractions into transport, lodging, nature, sights, and food for mobile filtering.
- Verify zoom, drag, and bottom panel behavior on a 375px mobile layout.
Best For
- Independent travelers who have a day-by-day attraction list and want mobile route views.
- Travel content editors who need to turn text itineraries into shareable phone maps.
- Front-end engineers who want to build a single-file offline map from AMap static images.
- Trip coordinators who need to merge station, hotel, and attraction coordinates into filterable maps.
Related Skills
Interprets 7-day, 3-hourly city weather for travel, covering outdoor risks, scenic-area comfort, packing, and transportation planning.
A set of six actionable skills for identity-level change, anti-vision, mindset stage, feedback iteration, one-day reset, and gamified follow-through.
Combines AMAP POI coordinates, enforced parameter checks, and site insights to produce a Python-rendered HTML store-location report.
Cast an I Ching coin hexagram with true random numbers and interpret it using Zhu Xi or Shi-Ying methods.