diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-02 14:29:41 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-02 14:29:41 +0100 |
commit | f8a66ee6b699d02775a10ac0a5ce355a90c27939 (patch) | |
tree | 858cb2aaaadb9fafa387c31c45446debf5c0a3de | |
parent | 410106b79830c73a846e852146f82d4a400d6281 (diff) | |
download | MinedMap-f8a66ee6b699d02775a10ac0a5ce355a90c27939.tar MinedMap-f8a66ee6b699d02775a10ac0a5ce355a90c27939.zip |
viewer: always use nearest-neighbor filter for zooming
-rw-r--r-- | viewer/index.html | 7 |
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> |