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

Jan Holesovsky kendy at collabora.com
Wed Apr 12 13:00:26 UTC 2017


 loleaflet/src/map/Map.js |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit f5a69785de65d8cf48f2b93e64e7c41a4a374a72
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Apr 12 14:39:15 2017 +0200

    _initialCenter is now unused.
    
    Change-Id: Ie9442168bc6075574b6d83bf0558b0c4983b2361

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index fcb75e27..8d153a67 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -313,7 +313,6 @@ L.Map = L.Evented.extend({
 
 		var oldSize = this.getSize();
 		this._sizeChanged = true;
-		this._initialCenter = null;
 
 		var newSize = this.getSize(),
 		    oldCenter = oldSize.divideBy(2).round(),
@@ -698,7 +697,6 @@ L.Map = L.Evented.extend({
 		}
 
 		this._zoom = zoom;
-		this._initialCenter = center;
 
 		if (!preserveMapOffset) {
 			L.DomUtil.setPosition(this._mapPane, new L.Point(0, 0));


More information about the Libreoffice-commits mailing list