Skip to content
/ slippy Public

Go package for drawing OpenStreetMap tiles in pixel

License

Notifications You must be signed in to change notification settings

icholy/slippy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()
}

About

Go package for drawing OpenStreetMap tiles in pixel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages