Today, I'm starting a new blog series written from Foldøy, a tiny island in south west Norway which will be my home for two months. In this first post, I'll show you how to deliver zoomable high-resolution images with Leaflet.
I've br...
Today, I'm starting a new blog series written from Foldøy, a tiny island in south west Norway which will be my home for two months. In this first post, I'll show you how to deliver zoomable high-resolution images with Leaflet.
I've brought 17 kg of mapping and visualization books to keep me occupied:
Zoom in of you want to see the details! You don't really need Leaflet to create images like this, as Zoomify provides both Flash and HTML5 viewers. I'm using Leaflet to create an open source alternative, and to learn more about tiling schemes. The code is available on GitHub as a Leaflet plugin.
The Zoomify tile format is similar to popular map tiling schemes. The image is stored like a pyramid of multiple jpeg tiles at different resolutions or zoom levels. The tile size is 256 x 256 px and there are 256 tiles in each folder.