Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed May 6, 2024
1 parent 6430b8d commit 429cfa1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1622,7 +1622,7 @@ function restyleLayer(propertyName,geojsonLayer) {
//geojsonLayer.eachLayer(function(featureInstanceLayer) {
propertyValue = geojsonLayer["features"][0]["properties"][propertyName];
rangesByAttribute=createColorRangeByAttribute(propertyName,geojsonLayer)
rangestoLegendHTML(rangesByAttribute)
document.getElementById("legend").innerHTML=rangestoLegendHTML(rangesByAttribute)
// Your function that determines a fill color for a particular
// property name and value.
console.log(layerr)
Expand Down

0 comments on commit 429cfa1

Please sign in to comment.