From 08c779367ff5513cbdd28fc9e99743d929598113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20S=C3=A1nchez=20Ortega?= Date: Wed, 7 Oct 2015 12:30:20 +0200 Subject: [PATCH] Removing unneeded L.Map._latLngToNewLayerPoint, see #3895 --- src/map/Map.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/map/Map.js b/src/map/Map.js index 83cf9c65..fee441d6 100644 --- a/src/map/Map.js +++ b/src/map/Map.js @@ -763,11 +763,6 @@ L.Map = L.Evented.extend({ return this.project(center, zoom)._subtract(viewHalf)._add(this._getMapPanePos())._round(); }, - _latLngToNewLayerPoint: function (latlng, zoom, center) { - var topLeft = this._getNewPixelOrigin(center, zoom); - return this.project(latlng, zoom)._subtract(topLeft); - }, - // layer point of the current center _getCenterLayerPoint: function () { return this.containerPointToLayerPoint(this.getSize()._divideBy(2));