Skip to content

Commit

Permalink
Add NYC location
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmatthew committed May 29, 2019
1 parent ce723af commit 6b7ee38
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions config/locations.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,15 @@ export const locations = {
"lngMax": 8.33810806274414
},
"operator_qid": 'undefined'
},
"us-nyc": {
name: 'New York',
"bounding_box": {
"latMin": 40.643135583312805,
"lngMin": -74.13848876953125,
"latMax": 40.852254338121625,
"lngMax": -73.81988525390624
},
"operator_qid": 'undefined'
}
};
4 changes: 2 additions & 2 deletions server/common/swagger/Api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ paths:
- name: city
in: query
type: string
enum: [ch-zh, ch-ge, ch-bl, ch-lz]
enum: [ch-zh, ch-ge, ch-bl, ch-lz, us-nyc]
example: ch-zh
required: false
description: name of city for which fountains are to be served
Expand Down Expand Up @@ -106,7 +106,7 @@ paths:
- name: city
in: query
type: string
enum: [ch-zh, ch-ge, ch-bl, ch-lz]
enum: [ch-zh, ch-ge, ch-bl, ch-lz, us-nyc]
example: ch-zh
required: true
description: name of city for which fountains are to be served
Expand Down

1 comment on commit 6b7ee38

@mmmatthew
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.