Skip to content

Commit

Permalink
Exclude options.api from query params (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelskahn authored Oct 22, 2020
1 parent fc62116 commit 2dadf74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/geocoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default class Geocoder {
this.fire('loading');

const geocodingOptions = this.options
const exclude = ['placeholder', 'zoom', 'flyTo', 'accessToken'];
const exclude = ['placeholder', 'zoom', 'flyTo', 'accessToken', 'api'];
const options = Object.keys(this.options).filter(function(key) {
return exclude.indexOf(key) === -1;
}).map(function(key) {
Expand Down

0 comments on commit 2dadf74

Please sign in to comment.