Skip to content

Commit

Permalink
fix: delete serverCluster option if previously set (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
turban authored Mar 27, 2020
1 parent 0f792ef commit 62334c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/loaders/eventLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ const loadEventLayer = async config => {
items: [],
};

// Delete serverCluster option if previously set
delete config.serverCluster;

if (spatialSupport && eventClustering) {
const response = await getCount(analyticsRequest);
config.bounds = getBounds(response.extent);
Expand Down

0 comments on commit 62334c1

Please sign in to comment.