Commit graph

55 commits

Author SHA1 Message Date
Tom Hughes
c47cb299a8 Replace uses of var with let or const as appropriate 2025-02-16 11:14:13 +00:00
Anton Khorev
7e6bc9f068 Fix missing zoom argument of OSM.cropLocation in home location 2025-02-04 03:11:17 +03:00
Marwin Hochfelsner
4b6b49801c Add coordinate precision function 2025-02-02 01:37:07 +01:00
Tom Hughes
9b9e857b72 Adjust imports for leaflet.locatecontrol 2024-10-30 18:41:43 +00:00
Tom Hughes
6d49bc6ebb Make select all checkbox on users list work with turbo 2024-09-12 19:10:26 +01:00
Anton Khorev
671bb76f05 Use bindPopup options to set min width of user popup 2024-04-25 04:48:26 +03: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
a5a7ee116c Remove 'no home' message css from profile edit form 2023-08-08 20:26:15 +03:00
Anton Khorev
8bc7793d42 Replace spinners in javascript 2022-11-01 00:19:13 +03:00
Tom Hughes
80f576a29b Fix avatar mode update on file change 2021-02-16 17:12:34 +00:00
Tom Hughes
916c48fd47 Move leaflet.locatecontrol to be a yarn managed asset 2020-08-06 19:28:51 +01:00
Tom Hughes
4176b78edf Pass I18n argument correctly 2020-03-20 14:58:45 +00:00
Tom Hughes
587a1b0754 Fix lego translation with locate control
Fixes #2564
2020-03-20 14:28:51 +00:00
Simon Legner
7a81258ddc Translate units used by leaflet-locatecontrol 2019-12-24 00:29:30 +01:00
Tom Hughes
6c202448ad Move user images to Active Storage with paperclip as a fallback 2019-07-09 19:17:30 +01:00
Simon Poole
42a917b0a8 Reduce es lint moaning 2019-05-13 17:45:50 +02:00
Simon Poole
1be8d599e8 Add checkbox for contributor terms and improve text 2019-05-13 16:54:29 +02:00
Simon Poole
027728fede Use jquery 2019-05-13 16:54:29 +02:00
Simon Poole
d3d03a3177 Move onclick handling of tou checkbox to ujs 2019-05-13 16:52:18 +02:00
Tom Hughes
5bd59e1936 Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
Tom Hughes
eb7678145a Use double quotes consistently in javascript code 2019-04-06 15:59:34 +01:00
Tom Hughes
a3519348c6 Remove inline javascript from user settings page 2017-11-24 16:20:50 +00:00
Holger Jeromin
833579778a Removes DOM difference in location button 2017-10-18 15:05:11 +02:00
Tom Hughes
d13348c0ea Remove inline javascript from user views 2017-02-27 22:51:03 +00:00
Marco Antonio Frias Butrón
1f9857e76c Patch classes on the locate control
This patches the map on the user page in the same way as the main map.

Closes #1328
2016-10-17 11:00:01 +01:00
Tom Hughes
e434cb154c Convert OpenID authentication to generic third party authentication 2015-02-25 01:07:23 +00:00
Tom Hughes
bd2e999756 Move some javascript functions out of global scope 2015-02-24 00:19:08 +00:00
Tom Hughes
66039dedb0 Move zoomPrecision function to the OSM namespace 2014-02-27 18:15:54 +00:00
John Firebaugh
6681155865 Fix map controls on user settings page 2013-11-05 15:57:03 -08:00
John Firebaugh
53e4d600e7 Fixes 2013-10-13 14:45:58 -07:00
Tom Hughes
58eb17cb63 Update user location setting for zoomPrecision change 2013-08-04 12:40:20 +01:00
Tom Hughes
7db1180506 Reduce user location to be between -180 and 180 degrees 2013-07-30 21:20:09 +01:00
Tom Hughes
b1dae2e798 Round user home location to a sensible precision 2013-07-30 18:05:57 +01:00
John Firebaugh
aff23d4b4b Simplify sidebar/resize
Float sidebars left/right and use overflow: hidden.
Fixes a bug on Opera where mouse events propagate to
the map.
2013-07-18 10:45:18 -07:00
John Firebaugh
de5a225a95 Use custom zoom control everywhere 2013-07-18 10:45:16 -07:00
John Firebaugh
4563244fd1 Clean up some of the map JS, reduce scope of globals 2013-07-18 10:34:17 -07:00
John Firebaugh
9bd48640ad Move popup anchor definition to icon 2012-11-09 15:57:31 -08:00
John Firebaugh
ed84516db2 Fix user popup styles 2012-11-09 12:59:31 -08:00
John Firebaugh
1927bc6ca8 Fix user map icon and offset 2012-11-09 12:59:31 -08:00
John Firebaugh
648f232596 Inline map.js marker functions 2012-11-09 12:59:31 -08:00
John Firebaugh
6f793e1b21 Pan/zoom controls that look like the OL ones 2012-11-09 12:59:28 -08:00