nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 62d8f5caf844766cb034557cc39f7c78cdb4ccc4
parent 072b6d2735058693e995288c0e4e41ffca5b478a
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Wed, 22 Feb 2017 11:58:18 +0300

[print] disable scrollbars on body to avoid scrollbars when rendering google layers

Diffstat:
Msrc/index.css | 1+
Msrc/lib/leaflet.control.printPages/map-render.js | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/index.css b/src/index.css @@ -2,6 +2,7 @@ body { margin: 0; padding: 0; font-family: sans-serif; + overflow: hidden; } body, html{ diff --git a/src/lib/leaflet.control.printPages/map-render.js b/src/lib/leaflet.control.printPages/map-render.js @@ -190,7 +190,7 @@ function getTempMap(zoom, fullSize, pixelBounds) { position: 'absolute', left: '0', top: '0', - visibility: 'hidden' + visibility: 'hidden', } );