Skip to content

Commit

Permalink
Use layer geometry name for spatial filter
Browse files Browse the repository at this point in the history
  • Loading branch information
ger-benjamin committed Nov 13, 2020
1 parent 6d43835 commit 4be7954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query/Querent.js
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ export class Querent {
// as well.
if (options.geometry) {
const spatialFilter = olFormatFilter.intersects(
dataSource.geometryName(),
geometryName,
options.geometry,
srsName
);
Expand Down

0 comments on commit 4be7954

Please sign in to comment.