Skip to content

Commit

Permalink
#407 Include Query layers in click intersections
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Aug 3, 2023
1 parent 9be2eba commit 457d30a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/essence/Basics/Layers_/Layers_.js
Original file line number Diff line number Diff line change
Expand Up @@ -2987,7 +2987,8 @@ const L_ = {
Object.keys(L_.layers.layer).forEach((lName) => {
if (
L_.layers.on[lName] &&
L_.layers.data[lName].type === 'vector' &&
(L_.layers.data[lName].type === 'vector' ||
L_.layers.data[lName].type === 'query') &&
L_.layers.layer[lName]
) {
const nextFeatures = L.leafletPip
Expand Down
3 changes: 2 additions & 1 deletion src/essence/Tools/Kinds/Kinds.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ var Kinds = {
Object.keys(L_.layers.layer).forEach((lName) => {
if (
L_.layers.on[lName] &&
L_.layers.data[lName].type === 'vector' &&
(L_.layers.data[lName].type === 'vector' ||
L_.layers.data[lName].type === 'query') &&
L_.layers.layer[lName]
) {
features = features.concat(
Expand Down

0 comments on commit 457d30a

Please sign in to comment.