Commit Graph

30 Commits

Author SHA1 Message Date
raucao 4fed8c05c5 Change routing to always use OSM IDs except for custom places
Also implements a short term cache for OSM place data, so we can load it
multiple times without multiplying network requests where needed
2026-04-22 11:01:32 +04:00
raucao 0f29430e1a When request retries exhaust, show error in toast notification
CI / Lint (pull_request) Failing after 29s
CI / Test (pull_request) Failing after 44s
2026-03-27 15:01:04 +04:00
raucao 86b20fd474 Abort search requests when clearing search box
Also adds abort support for Photon queries
2026-03-23 18:07:29 +04:00
raucao 8bec4b978e Ignore certain public transport results in nearby search 2026-03-23 15:00:39 +04:00
raucao 9183e3c366 Cache category search results
And abort ongoing searches when there's a new query
2026-03-20 19:27:26 +04:00
raucao f2a2d910a0 WIP Search places by category 2026-03-20 16:43:57 +04:00
raucao e019fc2d6b Don't include roads and similar in nearby search
Meant to include bus stops, but have to be more specific when re-adding
2026-02-24 21:49:59 +04:00
raucao d827fe263b Draw outlines/areas for ways and relations on map 2026-02-24 11:22:57 +04:00
raucao df1f32d8bd More place type improvements 2026-02-24 11:05:02 +04:00
raucao aa058bd7a3 Include places that only have localized names
For example "name" absent, but "name:en" present
2026-02-24 10:41:54 +04:00
raucao 361a826e4f Improve nearby search
* Use regular expression queries for place types
* Add more place types
* Add relations
* Only return results with a name
2026-02-24 09:58:12 +04:00
raucao f73677139d Zoom to fit ways and relations into map view 2026-02-23 22:01:46 +04:00
raucao 8217e85836 Improve display of boundaries like cities, states, etc. 2026-02-23 21:14:40 +04:00
raucao 323aab8256 Add more place types, refactor tag usage 2026-02-23 18:02:15 +04:00
raucao 2aa59f9384 Fetch place details from OSM API, support relations
* Much faster
* Has more place details, which allows us to locate relations, in
  addition to nodes and ways
2026-02-20 12:34:48 +04:00
raucao 64ccc694d3 Prefer place name in UA/browser language
closes #16
2026-02-10 19:19:36 +04:00
raucao 0212fa359b Change console statements to debug or warn 2026-01-27 12:58:36 +07:00
raucao a8dc4c81e4 Implement simple query cache for Overpass/OSM search
So when we return to the search route, we don't have to refetch
2026-01-27 09:50:41 +07:00
raucao 911e6ddf38 Add setting for Overpass API provider 2026-01-24 20:47:55 +07:00
raucao 1a2aae631d Fix JS linting errors 2026-01-24 17:54:34 +07:00
raucao 721fe5f01d Fix linting/formatting 2026-01-24 12:52:19 +07:00
raucao f87d8bdda9 Improve save button styles 2026-01-23 16:51:53 +07:00
raucao 6bd55843bb Switch to bkero's API (for now) 2026-01-23 12:59:11 +07:00
raucao 42bf8455e5 Improve place routing and loading
* Normalize OSM POIs and always use and store the OSM type and tags
* Pass place objects to place route, do not load from API if passed
* Construct place URLs with osm prefix including the type
* Load specific type from API when given
2026-01-20 16:16:57 +07:00
raucao 598ac5e587 Handle and store OSM type and tags properly 2026-01-20 15:03:36 +07:00
raucao 9de6cc0545 Fix retries 2026-01-18 19:30:06 +07:00
raucao a82cdbf7e0 Retry failed overpass requests 2026-01-18 12:27:44 +07:00
raucao 1fa5ee11a5 Decrease search radius a bit 2026-01-16 15:27:19 +07:00
raucao fad1eae552 Refactor to use routes, make POIs linkable 2026-01-16 13:44:36 +07:00
raucao 6a90f16fe1 Add OSM service, map click handler
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
2026-01-15 22:00:23 +07:00