## Essential
+* JS error on http://localhost:8000/reverse.html?format=html&lat=51.72702815704774&lon=8.701171874999998&zoom=
* need polyfill for URLSearchParams https://caniuse.com/#feat=urlsearchparams
* Nominatim backend API
* need /status to support &format=json
* need /details to support &format=json
-* all pages: "you need javascript enabled" default text
* reverse: zoom not set
http://localhost:8000/reverse.html?format=html&lat=52.3755991766591&lon=7.646484374999999&zoom=
* error message on API error or timeout
-* reverse: support `osm_type`, `osm_id` paramters
+* detail: support `osm_type`, `osm_id` paramters
* search page: add pagination, moreurl
* search page: add viewbox
* details page: add "There are more child objects which are not shown" back in
## Nice-to-have
-* don't show unset parameters in URL, e.g. `&a=&b=&c=1`
+* don't show unset parameters in URL, e.g. `&a=&b=&c=1` => '&c='
* different content for official OSM, e.g. github urls
* set HTML title
* cache `update_data_date` result
## Code cleanup
+* we have marker-icon twice
* remove Perl dependency from build
* show map bounds section => move to handlebar template, map to partial
* make sure we use https URL to external sites where possible
* aResults vs aPlace vs aFeature variable naming
* use CSS preprocessor and linter
* use eslint
+* add a /vendor directory for third-party files
# mkdir dist/
rsync --quiet --recursive src/assets dist/
+rsync --quiet --recursive src/vendor/js/* dist/assets/js/
+rsync --quiet --recursive src/vendor/css/* dist/assets/css/
+rsync --quiet --recursive src/vendor/images/* dist/assets/images/
rsync --quiet --recursive src/templates dist/
# rsync --quiet --recursive src/partials dist/
aPlace: aPlace,
fLat: api_request_params.lat,
fLon: api_request_params.lon,
- iZoom: (api_request_params.zoom !== '' ? api_request_params.zoom : undefined)
+ iZoom: (search_params.get('zoom') !== '' ? api_request_params.zoom : undefined)
};
render_template($('main'), 'reversepage-template', context);