From 78ccf986650a60e12b7f6a15661accae8124a2e2 Mon Sep 17 00:00:00 2001 From: danzel Date: Wed, 22 Jan 2014 09:23:55 +1300 Subject: [PATCH] More whitespace fixes :) --- .../marker-clustering-realworld.50000.html | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/example/marker-clustering-realworld.50000.html b/example/marker-clustering-realworld.50000.html index 1a1ecdc67..ff73a8824 100644 --- a/example/marker-clustering-realworld.50000.html +++ b/example/marker-clustering-realworld.50000.html @@ -29,23 +29,23 @@ var map = L.map('map', { center: latlng, zoom: 13, layers: [cloudmade] }); - var progress = document.getElementById('progress'); - var progressBar = document.getElementById('progress-bar'); + var progress = document.getElementById('progress'); + var progressBar = document.getElementById('progress-bar'); - function updateProgressBar(processed, total, elapsed, layersArray) { - if (elapsed > 1000) { - // if it takes more than a second to load, display the progress bar: - progress.style.display = 'block'; - progressBar.style.width = Math.round(processed/total*100) + '%'; - } + function updateProgressBar(processed, total, elapsed, layersArray) { + if (elapsed > 1000) { + // if it takes more than a second to load, display the progress bar: + progress.style.display = 'block'; + progressBar.style.width = Math.round(processed/total*100) + '%'; + } - if (processed === total) { - // all markers processed - hide the progress bar: - progress.style.display = 'none'; - } - } + if (processed === total) { + // all markers processed - hide the progress bar: + progress.style.display = 'none'; + } + } - var markers = L.markerClusterGroup({ chunkedLoading: true, chunkProgress: updateProgressBar }); + var markers = L.markerClusterGroup({ chunkedLoading: true, chunkProgress: updateProgressBar }); var markerList = [];