Commit graph

4676 commits

Author SHA1 Message Date
d3ac3bab94 [map] add settings and menu cases to parse deeplink url types
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-30 19:29:27 +03:00
34cc018629 update place page after edit
Signed-off-by: map-per <map-per@gmx.de>
2024-09-28 15:14:59 -03:00
53e9d3172c removed redundant code
Signed-off-by: kavikhalique <kavikhalique3@gmail.com>
2024-09-21 23:21:30 -03:00
c1d7287a18 Track editing fix
Signed-off-by: kavikhalique <kavikhalique3@gmail.com>
2024-09-21 23:21:30 -03:00
55038e1cd6 [android] Implements Track Editing
Signed-off-by: kavikhalique <kavikhalique3@gmail.com>
2024-09-19 22:39:10 +03:00
David Martinez
ee8eb1980d [styles] Add SVG bookmark icons using current POI icons
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-09-16 12:54:00 -03:00
David Martinez
707f5415db [styles] Add SVG search result icons using current POI icons
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-09-10 19:10:34 -03:00
Alexander Borsuk
bdc254e02d [ios] Clear track on the screen after stopping recording it
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-07 13:49:23 +03:00
Alexander Borsuk
3c85495576 Print original path to the saved file instead of a path to the temporary kml
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-05 15:30:50 +02:00
c23a535dba [gps] add timestams and altitudes to the recorded track points
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:21:06 +02:00
9b490968e1 [map] fix map_tests
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 17:50:20 +02:00
bcc2beaeab [serdes] [kml] merge the points during the validation instead of serialization
It will fix the issue when we cannot get the marged points indexes to skip the same timestamps during the serialization process because timestamps count should be equal to the points in line count (or 0).

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 17:50:20 +02:00
4a2135042d [kml] add timestamps vector to the MultiGeometry
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 17:50:20 +02:00
Alexander Borsuk
f215bb67e3 Fixed crash when tapping on a text to select an intermediate stop (or any other non-bookmark UserMark)
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-01 18:37:12 +02:00
Alexander Borsuk
7c151ec289 [ios] Minor fixes
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-01 18:37:12 +02:00
Alexander Borsuk
a2d059da91 Replaced GpsTrackInfo with GpsInfo
TODO: There is an inefficient copying in void GpsTrackFilter::Process
that can be refactored

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-27 11:50:16 +02:00
Alexander Borsuk
4d0ae85720 Renamed m_speedMpS to m_speed because MpS can be read as Miles per second or Meters per second
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-27 11:50:16 +02:00
fe4b844c11 [map] [bookmarks] implement recorded track saving
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-25 15:56:32 +02:00
d540b579c7 [map] [gps] fetch recorded recent track
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-25 15:56:32 +02:00
8bbe3dc9c1
[Android] OAuth2 flow with browser V2 (#9044)
* [Android] Implemented OAuth2 flow with browser

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* [Android] Small improvements

Signed-off-by: S. Kozyr <s.trump@gmail.com>

* Small changes according to PR comments.

Signed-off-by: S. Kozyr <s.trump@gmail.com>

---------

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-08-21 16:58:02 +02:00
Alexander Borsuk
afe8090982 Refactored optional position parameter passing
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-20 13:05:14 +02:00
40f86e9fe8 [bookmarks] [android] bring back AddBusiness to the PP
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-18 22:02:16 +02:00
Alexander Borsuk
4d07de2b85 Fixed wrongly selected bookmarks instead of search results
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-17 19:15:38 +02:00
a639a94753 [bookmarks] [tests] unit tests for the recently deleted feature
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-15 12:59:33 +02:00
ea7a17ba68 [bookmarks] delete category files by moving to the .Trash dir
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-15 12:59:33 +02:00
9228c52ed6 [core] [map] [ios] fix the CanEditMap logic to add places only to the downloaded and updated maps
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-13 16:49:16 -03:00
Alexander Borsuk
1026e796ef
Avoid unnecessary Locale copying in ToStringPrecisionLocale (#8896)
* Avoid unnecessary copy in ToStringPrecisionLocale

And a bit faster code in two other places

Signed-off-by: Alexander Borsuk <me@alex.bio>

* fix

Signed-off-by: Alexander Borsuk <me@alex.bio>

* Minor formatting

Signed-off-by: Alexander Borsuk <me@alex.bio>

* Better formatting for distance tests

Signed-off-by: Alexander Borsuk <me@alex.bio>

* Workaround for failing distance tests

Signed-off-by: Alexander Borsuk <me@alex.bio>

* Fixed failing tests and improved formatting

Signed-off-by: Alexander Borsuk <me@alex.bio>

* Review fixes

Signed-off-by: Alexander Borsuk <me@alex.bio>

---------

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-13 09:48:09 +02:00
Alexander Borsuk
3482016bb0 Properly recreate the recent track storage file if it is corrupted/empty
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-11 19:35:21 +02:00
9c9e4c5e21 Implemented app.organicmaps.Framework.nativeDeactivateMapSelectionCircle
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-08-01 19:00:46 +02:00
Alexander Borsuk
fb011eac33 [android] Fixed invalid mime types for gpx and kmz
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-01 07:39:06 +02:00
bf5825733e Fixed selection POI with bookmark when bookmark is not selected.
Signed-off-by: Sergiy Kozyr <s.trump@gmail.com>
2024-07-31 12:33:39 -03:00
David Martinez
5249ac9830
[placepage] Use WiFi emoji symbol 🛜 in PP preview (#8631)
* [placepage] Use localized WiFi string

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>

* [placepage] Use WiFi emoji symbol 🛜

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>

---------

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-07-25 18:14:58 +02:00
David Martinez
c519acac74 [placepage] FormatSubtitle: Restore withTypes parameter
GetLocalizedAllTypes's assert was crashing when selecting a bookmark
that had no POI associated and therefore it had no types.

Now it will not invoke GetLocalizedAllTypes if withTypes is false.

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-07-03 21:37:25 -03:00
David Martinez
f16bf61607 [placepage] Show secondary types when name is empty
[placepage] Only discard level=1 amenity, but show others like shop...

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-07-01 12:10:12 -03:00
David Martinez
80ff58e67b [placepage] Show all types
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-06-27 22:47:47 +02:00
75c22cacd3 Introduced method PlacePageActivationListener.onSwitchFullScreenMode()
Added onSwitchFullScreenMode listener call from JNI

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-06-18 23:18:59 +02:00
553d936a13 [core] split onClose and onSwitchFullScreen
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-18 23:18:59 +02:00
35be2a37d7 [ios] add assert on second LoadBookmarks call
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-11 11:40:57 +03:00
36b0265477 Refactoring of Framework::BuildPlacePageInfo function.
Now it always returns place_page::Info struct. Changed return type and all places affected.

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-06-09 23:27:50 +02:00
6d260fe008 [drape] Single tap how selects any feature (POI, bookmark, line, or area)
Long tap shows/hides the UI. Special case for buildings: on a tap building is selected in PP but selection circle is on tap position.

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-06-09 23:27:50 +02:00
Alexander Borsuk
296ce69fe0 [C++20] Use starts_with and ends_with
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-06-07 13:11:00 -03:00
450db38aec [bookmarks] implement recently deleted bookmarks and recovery support
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-07 15:25:27 +02:00
Kiryl Razhdzestvenski
d42503cdb3 Issue 8307. Add possibility to save gpx files to local storage
Signed-off-by: Kiryl Razhdzestvenski <kirill.rozh@gmail.com>
2024-06-03 16:26:21 +03:00
4ed22bd8d1 Revert "[placepage] Show all types"
This reverts commit 10b01c93d8.

Signed-off-by: Harry Bond <me@hbond.xyz>
2024-05-31 23:12:19 +02:00
7b2ca3a65d [bookmarks] implement support for the icloud sync and bookmarks reloading
Add methods:
- HasBookmark
- HasTrack
- ReloadBookmark
- ReloadBookmarkRoutine
Refactor methods:
- LoadBookmark
- NotifyAboutFinishAsyncLoading
- DeleteBmCategory
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-05-30 10:15:34 +03:00
cyber-toad
6e2fb9d5f8 [gpx] Add export buttons in Android and iOS
Signed-off-by: cyber-toad <the.cyber.toad@proton.me>
2024-05-30 08:08:02 +02:00
ad09f67da0 [bookmark] add HasBookmark to the bookmarks manager
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-05-27 23:39:28 -03:00
Viktor Govako
0cc2343b6a [base] Renamed XXXThreadPool for better understanding.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-05-27 23:17:15 -03:00
David Martinez
1276dc76f2 [styles] Rename styles to default/vehicle/outdoors + light/dark
clear/style-clear    -> default/style-light
clear/style-night    -> default/style-dark
vehicle/style-clear  -> vehicle/style-light
vehicle/style-night  -> vehicle/style-dark
outdoors/style-clear -> outdoors/style-light
outdoors/style-night -> outdoors/style-dark

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-05-23 00:16:43 -03:00
David Martinez
10b01c93d8 [placepage] Show all types
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-05-22 08:01:29 +02:00