tomwayson / esri-react-router-example

Example of how to load and use the ArcGIS API for JavaScript in a react-router application
https://tomwayson.github.io/esri-react-router-example
Apache License 2.0
23 stars 5 forks source link

Search maps #19

Closed tomwayson closed 7 years ago

tomwayson commented 7 years ago

maps route should use a query string parameter to search web maps on AGOL such as /maps?q=bike

repurpose the item id form on home page to be a search form that passes a search term as a query param to the maps route

first iteration can still show just the "top 10" for that term sorted by avg rating (i.e. no paging/sorting)

See: https://github.com/ReactTraining/react-router/blob/master/examples/query-params/app.js