Commit graph

1160 commits

Author SHA1 Message Date
Paul Norman
75a4d406b9 Remove OPNVKarte as a featured layer 2024-01-16 08:18:41 +00:00
Anton Khorev
4453728a72 Preview colour tag value using svg 2024-01-14 18:54:33 +03:00
Anton Khorev
d1763dd526 Fix messages heading update when message is deleted 2023-12-26 04:46:35 +03:00
Anton Khorev
800106c72b Allow to omit zoom levels for map key entries 2023-12-07 12:38:24 +03:00
Anton Khorev
e4cce5d539 Remove unused .current from primary nav 2023-12-04 05:10:41 +03:00
Nils
9f704f1d4e
Use 5 meter radius for input locations in Valhalla
This will search for road segments within 5 meter radius of the input location and choose the best path from/to whichever segment gives the cheapest cost. It should be preferable in most scenarios compared to simply snapping to the closest segment.

I'll do the same PR for our web app at https://github.com/gis-ops/valhalla-app.
2023-11-29 13:06:41 +01:00
Tom Hughes
2d1f756f75 Merge remote-tracking branch 'upstream/pull/4368' 2023-11-26 19:01:20 +00:00
Anton Khorev
857e9179b8 Read layers with available map key from config/key.yml 2023-11-24 16:38:38 +03:00
Anton Khorev
bf65abf268 Add tooltip to disabled html share button 2023-11-24 16:12:30 +03:00
Anton Khorev
6dd34d8430 Disable html share button for tracestracktopo layer 2023-11-24 15:12:41 +03:00
Anton Khorev
b5679e16db Disable text wrapping while measuring header width 2023-11-17 10:27:38 +03:00
Tom Hughes
c94de1e1a3 Improve name selection with the query tool
Pass the full expanded list of preferred languages to the client
and use that when looking for the best name for an object.

Fixes #4310
2023-11-14 17:45:50 +00:00
Anton Khorev
6f38ee2dbb Remove $spacer css from browse status panel 2023-11-14 08:37:05 +03:00
Anton Khorev
342d323c04 Remove unused maximiseMap/minimiseMap functions 2023-11-13 11:13:56 +03:00
Martin Raifer
b834bd70d0
use api.openstreetmap.org for API calls when running on www.osm.org
see https://github.com/openstreetmap/operations/issues/951
2023-11-08 12:52:23 +01:00
Tom Hughes
dc2c84f194 Fix eslint warnings 2023-11-02 10:11:36 +00:00
Tom Hughes
ef4c9a3306 Make change set comment rate limit errors display properly
Fixes #4320
2023-11-02 10:08:19 +00:00
Anton Khorev
6b203c63fe Don't pass placement: right to tooltip()
Bootstrap flips it on its own, see https://getbootstrap.com/docs/5.2/components/tooltips/#directions
2023-10-25 15:48:53 +03:00
Anton Khorev
62ba143c3c Remove some search/directions custom css 2023-10-20 16:58:59 +03:00
Tom Hughes
3e8bbe70fb Add whitespace 2023-09-22 17:54:18 +01:00
Paul Norman
00d085ed5d
Add Tracestrack Topo as featured layer 2023-09-19 22:16:42 -07:00
Andy Allan
5473be178a Refactor the directions table to use bootstrap table styling
This allows us to remove some custom CSS
2023-09-13 11:30:50 +01:00
Andy Allan
6eac50525b Use h2 as the main header on the map-ui panel 2023-09-06 18:10:02 +01:00
Andy Allan
c162a9660e Use standard padding size for map-ui sidebar
The previous padding didn't match the main sidebar, and also used
sass division as part of the calculation.
2023-09-06 18:10:02 +01:00
Andy Allan
6fc0f764d5 Round the clickable map previews on the layer switcher
Most interactive elements on the site are rounded, so we can do the
same for these map previews.
2023-09-06 18:10:02 +01:00
Andy Allan
01eed9b96c Make the sharing controls read-only
They aren't used for inputting any information, only for copying.
2023-09-06 18:10:02 +01:00
Andy Allan
dc24f6c219 Use bootstrap form controls for the link and html controls 2023-09-06 18:10:02 +01:00
Andy Allan
0ea6646fb6 Use bootstrap for share forms
This fixes alignment of the checkboxes, and uses bootstrap form
controls for the image format and scale inputs.

Move the custom dimensions input to beside the custom dimensions
display.
2023-09-06 18:10:02 +01:00
Tom Hughes
a274726f46 Add rate limiting for changeset comments
Fixes #4196
2023-08-25 19:53:04 +01:00
Tom Hughes
a8ae7b2d3e Replace links to donate.osm.org with supporting.osm.org 2023-08-19 11:22:54 +01:00
Tom Hughes
d8abf0dc7e Merge remote-tracking branch 'upstream/pull/4155' 2023-08-12 15:20:41 +01:00
Anton Khorev
65a4a95804 Highlight non-numeric home location coordinates 2023-08-11 21:47:15 +03:00
Anton Khorev
0be576a272 Don't construct invalid LatLng objects in home location 2023-08-11 21:47:14 +03:00
Anton Khorev
81ce6a7de0 Exchange focus between home location delete/undelete buttons 2023-08-11 21:47:14 +03:00
Anton Khorev
0f3f3ead0a Disable home marker tab focus and cursor change 2023-08-11 21:47:14 +03:00
Anton Khorev
2a32a0427b Disable show home location button if close enough to map center 2023-08-11 21:47:13 +03:00
Anton Khorev
2dbe4e6f88 Set default home location zoom when centering the map 2023-08-11 21:44:16 +03:00
Anton Khorev
0e98e2a337 Add undelete home location button listener 2023-08-11 21:44:16 +03:00
Anton Khorev
dbb3be0a74 Add delete home location button listener 2023-08-11 21:44:16 +03:00
Anton Khorev
7848643990 Add show home location button listener 2023-08-11 21:44:16 +03:00
Anton Khorev
a2ff9b38f8 Add user home location change listeners and buttons 2023-08-11 21:44:15 +03:00
Anton Khorev
8f946f1360 Use flex for buttons cell in messages table 2023-08-11 20:51:51 +03:00
Anton Khorev
c751967d0e Change mark message buttons visibility with hidden attr 2023-08-11 20:35:36 +03:00
Anton Khorev
179c70f725 Refactor message mark/delete listeners 2023-08-11 19:57:56 +03:00
Anton Khorev
a5a7ee116c Remove 'no home' message css from profile edit form 2023-08-08 20:26:15 +03:00
Andy Allan
f884be441d
Merge pull request #4111 from AntonKhorev/hidden-welcome-banner
Hide/show welcome banner with hidden attribute
2023-08-02 16:56:25 +01:00
Andy Allan
5f0c072ae0
Merge pull request #4120 from AntonKhorev/no-deprecated-iframe-attrs
Remove deprecated attributes from share html
2023-08-02 14:14:55 +01:00
Anton Khorev
c4b5392628 Remove deprecated attributes from share html 2023-07-29 20:34:10 +03:00
Anton Khorev
c3500b4b81 Remove display properties from share tabs 2023-07-29 19:26:20 +03:00
Anton Khorev
e6987d7dd3 Hide/show welcome banner with hidden attribute 2023-07-28 19:53:19 +03:00