Skip to content

Commit

Permalink
refactor: update names to open sgid
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Apr 2, 2024
1 parent d36d2bb commit 33935b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ export default function App() {
};

const gnisSherlock = {
provider: new WebApiProvider(apiKey, 'SGID10.LOCATION.PlaceNamesGNIS2019', 'NAME', {
contextField: 'COUNTY',
provider: new WebApiProvider(apiKey, 'location.gnis_place_names', 'name', {
contextField: 'county',
}),
label: 'Find Point of Interest',
placeHolder: 'place name ...',
Expand All @@ -104,7 +104,7 @@ export default function App() {
};

const citySherlock = {
provider: new WebApiProvider(apiKey, 'SGID10.BOUNDARIES.Municipalities', 'NAME'),
provider: new WebApiProvider(apiKey, 'boundaries.municipal_boundaries', 'name'),
label: 'Find City',
placeHolder: 'city name ...',
maxResultsToDisplay: 10,
Expand Down Expand Up @@ -181,7 +181,7 @@ export default function App() {
via GitHub issues.
</li>
<li className="list-group-item">
Reach out to us on <a href="https://twitter.com/MapUtah">Twitter</a> if you want to chat.
Reach out to us on <a href="https://x.com/MapUtah">X</a> if you want to chat.
</li>
</ul>
</small>
Expand Down

0 comments on commit 33935b9

Please sign in to comment.