Skip to content

Commit

Permalink
Removed unused variable from the choropleth example doc (#9182)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cinderella-Man authored Jul 2, 2024
1 parent ed3c085 commit 9b02cbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/examples/choropleth/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 9b02cbe

Please sign in to comment.