Skip to content

fix: use boolean setActive for drainage getVectorLayers calls#355

Open
Athina09 wants to merge 1 commit intocore-stack-org:developmentfrom
Athina09:bugfix/drainage-setactive-arg
Open

fix: use boolean setActive for drainage getVectorLayers calls#355
Athina09 wants to merge 1 commit intocore-stack-org:developmentfrom
Athina09:bugfix/drainage-setactive-arg

Conversation

@Athina09
Copy link
Copy Markdown

Summary

getVectorLayers expects the 4th parameter to be setActive (boolean). The drainage layer calls passed the string "drainage" instead of true.

Change

  • dashboard_basemap.jsx: getVectorLayers("drainage", drainageKey, true, "drainage")(..., true, true) in both places.

Why

Avoids misleading / incorrect API usage; setActive is not a layer name string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant