Skip to content

Commit

Permalink
fix(icherche): fix distance options for reverse icherche
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Mar 26, 2021
1 parent 075fb9b commit ee17b8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/geo/src/lib/search/shared/sources/icherche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ export class IChercheReverseSearchSource extends SearchSource
{
type: 'radiobutton',
title: 'radius',
name: 'buffer',
name: 'bufferInput',
values: [
{
title: '100 m',
Expand Down Expand Up @@ -748,7 +748,7 @@ export class IChercheReverseSearchSource extends SearchSource
): HttpParams {
if (options.distance || this.options.distance) {
options.params = Object.assign(options.params || {}, {
buffer: options.distance || this.options.distance
bufferInput: options.distance || this.options.distance
});
}

Expand Down

0 comments on commit ee17b8f

Please sign in to comment.