Skip to content

Commit

Permalink
Merge pull request #26 from origo-map/ImageFeatureInfoMode-fix
Browse files Browse the repository at this point in the history
Fix to use with imageFeatureInfoMode
  • Loading branch information
jokd authored Sep 20, 2023
2 parents ec630dc + e656335 commit 6358014
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ const Multiselect = function Multiselect(options = {}) {
layers = currentLayerConfig.layers.map(l => viewer.getLayer(l));
} else {
// Use queryable layers when no config exists (default behaviour)
layers = viewer.getQueryableLayers();
layers = viewer.getQueryableLayers(true);
}

// This call populates the promises array, so on the next line we can await it
Expand Down Expand Up @@ -736,7 +736,7 @@ const Multiselect = function Multiselect(options = {}) {
// Featureinfo in two steps. Concat serverside and clientside when serverside is finished
const pixel = evt.pixel;
const coordinate = evt.coordinate;
const layers = viewer.getQueryableLayers();
const layers = viewer.getQueryableLayers(true);
const clientResult = Origo.getFeatureInfo.getFeaturesAtPixel({
coordinate,
map,
Expand Down Expand Up @@ -819,7 +819,7 @@ const Multiselect = function Multiselect(options = {}) {
// Featurinfo in two steps. Concat serverside and clientside when serverside is finished
const pixel = evt.pixel;
const coordinate = evt.coordinate;
const layers = viewer.getQueryableLayers();
const layers = viewer.getQueryableLayers(true);
const clientResult = Origo.getFeatureInfo.getFeaturesAtPixel({
coordinate,
map,
Expand Down

0 comments on commit 6358014

Please sign in to comment.