From 6f7c2f853d75c4be9e26524d78b2ae64d3588925 Mon Sep 17 00:00:00 2001 From: Roy Wu Date: Thu, 15 Jun 2017 09:14:37 +0800 Subject: [PATCH 01/19] Changed L.Class to L.Layer that it can support Leaflet 1.0.3. --- example/index.html | 4 ++-- leaflet.latlng-graticule.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/index.html b/example/index.html index 266801f..eb26944 100755 --- a/example/index.html +++ b/example/index.html @@ -7,8 +7,8 @@ - - + + - - + + From a9be2e5c1beda83739c4f0161c8c2a1c731ea0cd Mon Sep 17 00:00:00 2001 From: Ivo Lukacovic Date: Mon, 15 Jan 2018 12:09:10 +0100 Subject: [PATCH 05/19] Fix, uninit variable --- leaflet.latlng-graticule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaflet.latlng-graticule.js b/leaflet.latlng-graticule.js index 1c7c100..0899fb0 100755 --- a/leaflet.latlng-graticule.js +++ b/leaflet.latlng-graticule.js @@ -520,7 +520,7 @@ L.LatLngGraticule = L.Layer.extend({ }, _latLngToCanvasPoint: function(latlng) { - map = this._map; + var map = this._map; var projectedPoint = map.project(L.latLng(latlng)); projectedPoint._subtract(map.getPixelOrigin()); return L.point(projectedPoint).add(map._getMapPanePos()); From 820ec93af419464a4d714c97df9845cd841cc9fd Mon Sep 17 00:00:00 2001 From: lanwei Date: Wed, 23 May 2018 16:07:53 +0800 Subject: [PATCH 06/19] fit v130 --- example/index.html | 4 ++-- leaflet.latlng-graticule.js | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/example/index.html b/example/index.html index eb26944..dcb549f 100755 --- a/example/index.html +++ b/example/index.html @@ -7,8 +7,8 @@ - - + +