透過輕量級 REST API 生成靜態地圖圖片
透過輕量級 REST API 產生靜態地圖圖片
docker-staticmaps 是一個用於渲染靜態地圖圖片的開源 API。您可以輕鬆建立帶有標記、多邊形、圓形、折線或文字的地圖,非常適合將地圖圖片嵌入網站或應用程式中。
Dockerfile 與 README 皆源自此原始儲存庫:https://github.com/dietrichmax/docker-staticmaps
佈署完成後,您可以透過您的網域存取互動式遊樂場 (Playground),或直接發送 API 請求。
GET https://your-domain.zeabur.app/api/staticmaps?width=1000&height=1000¢er=-18.2871,147.6992&zoom=9&basemap=satellite
造訪您佈署的網域以進入互動式遊樂場,您可以在該處:
如需詳細的 API 文件、支援的底圖以及進階功能,請造訪: https://dietrichmax.github.io/docker-staticmaps/
本專案採用 GNU Affero General Public License v3.0 (AGPL-3.0) 授權。
docker-staticmaps Copyright (C) 2026 Max Dietrich This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.