Registry / other / flopp-go-staticmaps

flopp-go-staticmaps

JSON →
library0.0.0-20250629121348-973b17999e19gogounverified

Package sm renders static map images from OpenStreetMap tiles with markers, paths, and filled areas.

other
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

github.com/flopp/go-staticmaps

Render a static map centered on Berlin at zoom level 10

package main import ( "os" "github.com/flopp/go-staticmaps" "github.com/fogleman/gg" ) func main() { ctx := sm.NewContext() ctx.SetCenter(52.5200, 13.4050, 10) img, _ := ctx.Render() img.SavePNG("map.png") }
Debug
Known footguns
gotchaRequires network access to download OSM tiles; no offline mode
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
ahrefsbot
1
Resources