* NPM package updates
* version 3.2.11 - 2023-03-08
- * Configuration: You can now set Map_Default_Bounds als alternative to lat,lon, zoom. Thanks Piskvor
+ * Configuration: You can now set Map_Default_Bounds as alternative to lat,lon, zoom. Thanks Piskvor
* NPM package updates
* version 3.2.10 - 2023-01-06
* version 3.2.9 - 2022-11-16
- * Fix: For places tagged bulding=yes display the formatted label 'Building', not 'Yes'
+ * Fix: For places tagged building=yes display the formatted label 'Building', not 'Yes'
* migrate remaining modules to ESM style (import instead of require)
* NPM package updates
* test suite: use JSON files for mocha and eslint configuration
* version 3.1.0 - 2021-04-26
- * Configuration: new options to set API endpoint headers and additional paramters, thanks petoc
+ * Configuration: new options to set API endpoint headers and additional parameters, thanks petoc
* Test suite: New test suite using a headless browser for UI interaction, thanks darkshredder
* Fix: Links to API URL weren't displayed after a search
* Fix: On result pages the map icons were not cleared between searches (caching issue)
* version 3.0.2 - 2021-03-05
* Details page: don't print 'null' when postcode is missing
- * Details page: make sure links to children,hierarcy update after pageload, thx LiteratimBi for the report
- * Details page: in hierachy list all addresslines were marked unused (grayed out)
+ * Details page: make sure links to children,hierarchy update after pageload, thx LiteratimBi for the report
+ * Details page: in hierarchy list all addresslines were marked unused (grayed out)
* Details page: API doesn't always return address keywords
* PageLinks/ReverseLink: fix warnings when properties not set
* Reverse search: click on map triggers new search
* Report-issue modal from version 1 was missing
- * Removed search-url-params polyfill. Svelte doesnt support MSIE11 either
+ * Removed search-url-params polyfill. Svelte doesn't support MSIE11 either
* version 2.0.1 - 2021-01-31
nominatim-ui is a separate project and it's not planned to add the UI to the nominatim-docker installation.
-The following instructions might still be useful and/or help futher automate such an installation.
+The following instructions might still be useful and/or help further automate such an installation.
```bash
# Log into the running container
docker exec -it nominatim /bin/bash
# Download stable nominatim-ui release
-# available verions: https://github.com/osm-search/nominatim-ui/releases
+# available versions: https://github.com/osm-search/nominatim-ui/releases
VERSION=3.4.0
cd /tmp
curl -L --fail -o nominatim-ui.tar.gz https://github.com/osm-search/nominatim-ui/releases/download/v${VERSION}/nominatim-ui-${VERSION}.tar.gz
<p class="alert alert-secondary my-4">
- If you're the adminstrator of this website you can edit the text above in
+ If you're the administrator of this website you can edit the text above in
<code>dist/theme/about-and-help.html</code>
</p>
const testing_port = 9999; // this is the port all tests expect nominatim-ui to listen to
// The installation on https://nominatim.openstreetmap.org/ui/ is a bit more complex as
-// for backward compatiblity they run the API and the UI on the same port. Nominatim-UI
+// for backward compatibility they run the API and the UI on the same port. Nominatim-UI
// is installed in the /ui subdirectory plus their webserver has custom redirect rules.
//
// We can simulate that with a proxy.
assert.strictEqual((await page.$$eval(`a[href="${url}"]`, (links) => links.length)), 2);
});
- // Reverse-only installation have no search index, therefor no keywords
+ // Reverse-only installation have no search index, therefore no keywords
if (!reverse_only) {
it('should change url and add new header on clicking display keywords', async function () {
let current_url;
}
- it('should support case-insenstive search, can navigate to new page', async function () {
+ it('should support case-insensitive search, can navigate to new page', async function () {
let input_field = await page.$('input[type=edit]');
await input_field.click({ clickCount: 3 });
await input_field.type('w375257537');
assert.strictEqual(current_url.searchParams.get('q'), 'Paris');
});
- it('should atleast one result', async function () {
+ it('should have at least one result', async function () {
let results_count = await page.$$eval('#searchresults .result', elements => elements.length);
assert.ok(results_count > 1);
});