[Pkg-javascript-commits] [leaflet-markercluster] 81/219: Update MarkerCluster.QuickHull.js
Jonas Smedegaard
dr at jones.dk
Sat May 7 09:39:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet-markercluster.
commit 79e65560db803d4d05c6c711540448031310ad02
Author: olive380 <olive380 at users.noreply.github.com>
Date: Tue Aug 4 19:35:17 2015 +0200
Update MarkerCluster.QuickHull.js
---
src/MarkerCluster.QuickHull.js | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/MarkerCluster.QuickHull.js b/src/MarkerCluster.QuickHull.js
index 9a59cc4..ed2880c 100644
--- a/src/MarkerCluster.QuickHull.js
+++ b/src/MarkerCluster.QuickHull.js
@@ -107,12 +107,12 @@ Retrieved from: http://en.literateprograms.org/Quickhull_(Javascript)?oldid=1843
*/
getConvexHull: function (latLngs) {
// find first baseline
- var maxLat = false, minLat = false,
- maxLng = false, minLng = false,
- maxLatPt = null, minLatPt = null,
- maxLngPt = null, minLngPt = null,
- maxPt = null, minPt = null,
- i;
+ var maxLat = false, minLat = false,
+ maxLng = false, minLng = false,
+ maxLatPt = null, minLatPt = null,
+ maxLngPt = null, minLngPt = null,
+ maxPt = null, minPt = null,
+ i;
for (i = latLngs.length - 1; i >= 0; i--) {
var pt = latLngs[i];
@@ -135,7 +135,7 @@ Retrieved from: http://en.literateprograms.org/Quickhull_(Javascript)?oldid=1843
}
if (minLat !== maxLat) {
- minPt = minLatPt;
+ minPt = minLatPt;
maxPt = maxLatPt;
} else {
minPt = minLngPt;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git
More information about the Pkg-javascript-commits
mailing list