[Libreoffice-commits] online.git: 2 commits - loleaflet/src

Pranav Kant pranavk at collabora.co.uk
Wed Dec 7 12:12:50 UTC 2016


 loleaflet/src/layer/tile/TileLayer.js |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 5b06f7b916d27b05c7d9f46ecd27f200e3d1f68d
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Wed Dec 7 17:39:44 2016 +0530

    loleaflet: Higher resoultion on retina displays
    
    Change-Id: Ib2a031d2d1cb88fe7fede392cfc2332a73252bbb

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index d830e7a..52658e7 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -45,7 +45,7 @@ L.TileLayer = L.GridLayer.extend({
 		maxNativeZoom: null, // Number
 		tms: false,
 		zoomReverse: false,
-		detectRetina: false,
+		detectRetina: true,
 		crossOrigin: false,
 		previewInvalidationTimeout: 1000
 	},
commit 322e00cab7929e5b57a22a0410992b6ed7cf5df5
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Wed Dec 7 17:23:24 2016 +0530

    Ununsed option in TileLayer
    
    Change-Id: Ida522fc8f92dd264e4544948394b9c7c11d993ab

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index 092d5dd..d830e7a 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -47,8 +47,7 @@ L.TileLayer = L.GridLayer.extend({
 		zoomReverse: false,
 		detectRetina: false,
 		crossOrigin: false,
-		previewInvalidationTimeout: 1000,
-		defaultPermission: 'view'
+		previewInvalidationTimeout: 1000
 	},
 
 	initialize: function (url, options) {


More information about the Libreoffice-commits mailing list