From f8a66ee6b699d02775a10ac0a5ce355a90c27939 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 2 Feb 2015 14:29:41 +0100 Subject: viewer: always use nearest-neighbor filter for zooming --- viewer/index.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/viewer/index.html b/viewer/index.html index 9c580a3..44681d0 100644 --- a/viewer/index.html +++ b/viewer/index.html @@ -21,6 +21,13 @@ body, .leaflet-container { background: #333; } + + img.leaflet-tile { + image-rendering: -moz-crisp-edges; + image-rendering: -o-crisp-edges; + image-rendering: -webkit-optimize-contrast; + -ms-interpolation-mode: nearest-neighbor; + } -- cgit v1.2.3