Skip to content

Commit

Permalink
Bugfix: overlapped projects are unselectable
Browse files Browse the repository at this point in the history
Turn off pickability of selected project layer,
letting event bubble to projects layer

closes #136
  • Loading branch information
TangoYankee committed Jan 9, 2025
1 parent 2e30849 commit 53e34bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function useCapitalProjectBudgetedGeoJsonLayer() {
managingCode === undefined || capitalProjectId === undefined
? []
: `${import.meta.env.VITE_ZONING_API_URL}/api/capital-projects/${managingCode}/${capitalProjectId}/geojson`,
pickable: true,
pickable: false,
getFillColor: ({ id }) => {
switch (id) {
case `${managingCode}${capitalProjectId}`:
Expand Down

0 comments on commit 53e34bf

Please sign in to comment.