summaryrefslogtreecommitdiffstats
path: root/viewer/index.html
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 14:29:41 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 14:29:41 +0100
commitf8a66ee6b699d02775a10ac0a5ce355a90c27939 (patch)
tree858cb2aaaadb9fafa387c31c45446debf5c0a3de /viewer/index.html
parent410106b79830c73a846e852146f82d4a400d6281 (diff)
downloadMinedMap-f8a66ee6b699d02775a10ac0a5ce355a90c27939.tar
MinedMap-f8a66ee6b699d02775a10ac0a5ce355a90c27939.zip
viewer: always use nearest-neighbor filter for zooming
Diffstat (limited to 'viewer/index.html')
-rw-r--r--viewer/index.html7
1 files changed, 7 insertions, 0 deletions
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;
+ }
</style>
</head>
<body>