Skip to content
项目

关于

API for generating static map images

设计与媒体

这些数字如何统计

可以做什么

  • Markers, polygons, circles, polylines and text overlays
  • Multiple basemaps (OpenStreetMap, Esri, Carto) and custom tile servers
  • Optional hillshade overlay (Terrarium-encoded raster-DEM tiles)
  • Tile and image caching

实测星标增长

24小时
-1
7天
-1
15天
-1
1个月
+1

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Docker Static Maps API 🗺️

Generate static map images via a REST API

Version Shield: Docker Pulls Shield: Docker Image Size

Self-hostable REST API for rendering static map images with markers, polygons, circles, polylines and text overlays. Includes tile caching, per-IP rate limiting and optional API key auth.

Documentation: https://dietrichmax.github.io/docker-staticmaps/

Features

  • Markers, polygons, circles, polylines and text overlays
  • Multiple basemaps (OpenStreetMap, Esri, Carto) and custom tile servers
  • Optional hillshade overlay (Terrarium-encoded raster-DEM tiles)
  • Tile and image caching
  • Per-IP rate limiting
  • Optional API key authentication

Quickstart

Run with Docker:

docker run -p '3000:3000/tcp' mxdcodes/docker-staticmaps:latest

Sample request:

curl "http://localhost:3000/api/staticmaps?width=1000&height=1000&center=-18.2871,147.6992&zoom=9&basemap=satellite"

Minimal Example

An interactive playground is available at http://localhost:3000.

Interactive playground

License

Copyright (C) 2026 Max Dietrich

The source code of this project is licensed under the GNU Affero General Public License version 3 or later (AGPL-3.0+).

Portions of this project (in the staticmaps folder) were originally based on staticmaps (MIT License).

Contributing

Contributions, bug reports and pull requests are welcome.

探索相关项目

加载中…