Go package for drawing OpenStreetMap tiles in pixel
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmd/example
README.md
coordinate.go
image.go
loader.go
map.go
tile.go
util.go

README.md

Slippy GoDoc

Draw OpenStreetMap tiles in pixel

m := slippy.New(slippy.Options{
	Zoom:   10,
	Center: slippy.C(43.174366, -79.231511),
	Bounds: win.Bounds(),
})

for !win.Closed() {
	m.FetchAsync()
	m.Draw(win, pixel.IM)
	win.Update()
}