Skip to content

Commit 33d7da9

Browse files
committed
Simplified legend generation code
1 parent 686af55 commit 33d7da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leaflet-dataclassification.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ L.DataClassification = L.GeoJSON.extend({
536536
if (unitMod_options.hasOwnProperty('action') && unitMod_options.action != null && typeof unitMod_options.action == "string" && unitMod_options.hasOwnProperty('by') && unitMod_options.by != null && typeof unitMod_options.by == "number") {
537537
legendPP_unitMod(unitMod_options)
538538
} else {
539-
console.error('Missing/invalid options for "unitModifier". Try `unitModifier: {action: "multiply", number: 1000}`. Classe values in legend were not affected.')
539+
console.error('Missing/invalid options for "unitModifier". Try `unitModifier: {action: "multiply", number: 1000}`. Class values in legend were not affected.')
540540
};
541541
}
542542

0 commit comments

Comments
 (0)