From 9b02cbee3d9ce6a4c66c6942c3c976301404be50 Mon Sep 17 00:00:00 2001 From: Kamil Skowron Date: Tue, 2 Jul 2024 20:33:01 +0200 Subject: [PATCH] Removed unused variable from the choropleth example doc (#9182) --- docs/examples/choropleth/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/examples/choropleth/index.md b/docs/examples/choropleth/index.md index 6d38b69f6bd..a2ec24c4d7b 100644 --- a/docs/examples/choropleth/index.md +++ b/docs/examples/choropleth/index.md @@ -194,8 +194,7 @@ Creating a control with a legend is easier, since it is static and doesn't chang legend.onAdd = function (map) { var div = L.DomUtil.create('div', 'info legend'), - grades = [0, 10, 20, 50, 100, 200, 500, 1000], - labels = []; + grades = [0, 10, 20, 50, 100, 200, 500, 1000]; // loop through our density intervals and generate a label with a colored square for each interval for (var i = 0; i < grades.length; i++) {