Slippy 
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()
}GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up| Failed to load latest commit information. | |||
|
|
cmd/example | ||
|
|
README.md | ||
|
|
coordinate.go | ||
|
|
image.go | ||
|
|
loader.go | ||
|
|
map.go | ||
|
|
tile.go | ||
|
|
util.go | ||
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()
}