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 db291c6 commit fae6077
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,7 @@ function restyleLayer(propertyName,geojsonLayer) {
console.log(layerr)
layerr.eachLayer(function(layer) {
console.log(layer)
thecolor=getColor(layer.feature, propertyName, propertyValue, rangesByAttribute)
thecolor=getColor(layer.feature, propertyName, layer.feature.properties[propertyName], rangesByAttribute)
console.log(thecolor)
if( layer instanceof L.Marker ) {
console.log("Is Marker")
Expand Down

0 comments on commit fae6077

Please sign in to comment.