Creating LeafletJS tile sets in golang

I wanted to create some slippy map style imageviewers using LeafletJS from large flat images files. In order to do this you need to break the image down into tiles of 256×256 pixels and various zoom levels. There are plenty of tools to do this, but none that looked like they quite fit my application. …

Fractal Slippy Map in golang and LeafletJS

Recently I’ve been playing with golang and LeafletJS. As a small project I decided to knock together a fractal slippy map with a golang based map server which dynamically creates the fractal tile images. The whole thing can be reverse proxied via nginx to take the load off the server. The projects totals less than …

Serving server generated PNGs over HTTP in golang

Building on the PNG generation code. We can easily expand this to serve the content over HTTP. The following example will serve content from the filesystem for everything but “/images”. This path will generate and send a random 100×100 PNG to the client. For blog updates and more follow me on twitter.