Skip to content

Commit

Permalink
Merge pull request #464 from ibi-group/fix-geocoder-layers-defaults
Browse files Browse the repository at this point in the history
fix(geocoder): remove invalid layers from default layers list
  • Loading branch information
miles-grant-ibigroup authored Oct 18, 2022
2 parents c8644df + 541d67f commit bf842e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/geocoder/src/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ Object {
},
"isomorphicMapzenSearchQuery": Object {
"api_key": "dummy-mapzen-key",
"layers": "address,venue,street,intersection,stops,stations",
"layers": "address,venue,street,intersection",
"text": "Mill Ends",
},
"type": "FeatureCollection",
Expand Down
2 changes: 1 addition & 1 deletion packages/geocoder/src/geocoders/pelias.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Geocoder from "./abstract-geocoder";
import type { AutocompleteQuery, SearchQuery } from "..";
import type { SingleOrMultiGeocoderResponse } from "./types";

const DEFAULT_LAYERS = "address,venue,street,intersection,stops,stations"
const DEFAULT_LAYERS = "address,venue,street,intersection"

/**
* Geocoder implementation for the Pelias geocoder.
Expand Down
2 changes: 1 addition & 1 deletion packages/location-field/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export interface LocationFieldProps {
locationType: LocationType;
/**
* A list of stopIds of the stops that should be shown as being nearby. These
* must be referencable in the stopsIndex prop.
* must be referenceable in the stopsIndex prop.
*/
nearbyStops?: string[];
/**
Expand Down

0 comments on commit bf842e4

Please sign in to comment.