Skip to content

Commit

Permalink
make sure geometries only are rendered properly using fgb
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Appelhans committed Sep 30, 2023
1 parent 08efe8d commit 993982c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/htmlwidgets/lib/FlatGeoBuf/fgb.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function updateStyle(style_obj, feature, scale, scaleValues) {
if (vals[i] === null) {
out[cols[i]] = feature.properties[cols[i]];
} else {
if (scaleValues !== undefined) {
if (scaleValues !== undefined & scaleValues !== null) {
//if (Object.keys(feature.properties).includes(vals[i])) {
if (scaleValues[i] === true) {
vals[i] = rescale(
Expand Down

0 comments on commit 993982c

Please sign in to comment.