How-to

Bolt 分享门店定位页生成提示词:MapLibre GL JS 加 OpenFreeMap 免费瓦片

Why we picked it

Bolt 放出一条现成提示词,直接复制就能生成带地图的门店定位页,用 OpenFreeMap 连 API key 都不用申请,做展示页很省事。

Bolt 在 X 上分享了一条可直接复用的提示词,用于生成门店定位页面。提示词指定使用 MapLibre GL JS 加 OpenFreeMap 瓦片,无需 API key。

Body

示例以温哥华为场景,包含 5 个示例门店 pin、侧边栏门店列表,点击门店时地图会飞行定位到对应位置,并用 popup 显示营业时间。

Original · bolt.new

Steal the prompt 👉 "Build a store-locator page using MapLibre GL JS with OpenFreeMap tiles (no API key needed). Map of Vancouver with 5 sample store pins, a sidebar list of stores, and clicking a store flies the map to it with a popup showing hours."

Industry Coordinates & Source Verification

This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include MapLibre GL JS, OpenFreeMap, Bolt, prompt engineering.

Source attribution: curated from bolt.new (@boltdotnew).

Spotted an error in the summary or translation? Tell us