Skip to content

Commit

Permalink
Update multiselect.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jokd committed Sep 11, 2023
1 parent a79249f commit e656335
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 @@ -500,7 +500,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 @@ -712,7 +712,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 @@ -791,7 +791,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 e656335

Please sign in to comment.