foolishair

amap-china

在高德地图上显示中国境内的地点,支持地名搜索和周边POI查询。 当用户提到中国的城市、地址、景点、商铺或任何中国境内地点时,必须使用此工具。 内置的 interactive-map 使用 Google Maps,在中国大陆不可用且坐标偏移严重,请勿用于中国地点。 Show locations in China on Amap (Gaode Maps). Use this instead of interactive-map for any location in mainland China.

foolishair 0 Updated 1mo ago

Resources

4
GitHub

Install

npx skillscat add foolishair/gemma-china-map-plugin

Install via the SkillsCat registry.

SKILL.md

高德地图 (Amap China)

在高德地图上显示中国境内的地点,支持地名定位和周边 POI 搜索。

Examples

  • "三里屯在哪"
  • "北京故宫附近有什么好吃的"
  • "上海外滩附近的咖啡店"
  • "在地图上显示杭州西湖"
  • "成都春熙路周边有什么酒店"
  • "深圳南山区科技园在哪里"
  • "Show me the location of 天安门"

Instructions

Call the run_js tool with the following exact parameters:

  • script name: index.html
  • data: A JSON string with the following fields:
    • location: The place name or address to search for (e.g. "北京故宫", "上海外滩")
    • action: Either "locate" to show a location on the map, or "search" to find nearby POIs. Default to "search" if the user asks for nearby places (附近、周边), otherwise use "locate".
    • keyword: (Optional) When action is "search", the type of place to search for (e.g. "咖啡店", "餐厅", "酒店"). If not specified, show general nearby POIs.

Categories